using System; using System.Collections.Generic; using System.Text; namespace HotelPms.Share.Windows.Util { public class ValueChangeEventArgs : InputItemEventArgs { //private bool cancel = false; private string chengDate = string.Empty; private bool resetOrgValue = true; //private object tag = null; private int m_ChangeEditingModeResult = 4; public int ChangeEditingModeResult { get { return m_ChangeEditingModeResult; } set { m_ChangeEditingModeResult = value; } } //public object Tag //{ // get { return tag; } // set { tag = value; } //} //public bool Cancel //{ // get { return cancel; } // set { cancel = value; } //} /// /// yyyy/MM/dd /// public string ChengDate { get { return chengDate; } set { chengDate = value; } } public bool ResetOrgValue { get { return resetOrgValue; } set { resetOrgValue = value; } } public ValueChangeEventArgs() { } public ValueChangeEventArgs(bool cancel) { this.Cancel = cancel; } public ValueChangeEventArgs(bool cancel, string chengDate) { this.Cancel = cancel; this.ChengDate=chengDate; } public ValueChangeEventArgs(bool cancel, string chengDate, bool resetOrgValue) { this.Cancel = cancel; this.ChengDate = chengDate; this.resetOrgValue = resetOrgValue; } } }