C# Class Com.Aote.ObjectTools.SystemTime

Inheritance: System.Windows.DependencyObject, ILoadable, IAsyncObject, INotifyPropertyChanged
ファイルを表示 Open project: DuBin1988/restv2 Class Usage Examples

Public Properties

Property Type Description
ErrorProperty System.Windows.DependencyProperty
IsBusyProperty System.Windows.DependencyProperty
PathProperty System.Windows.DependencyProperty
StateProperty System.Windows.DependencyProperty

Public Methods

Method Description
AppointedDate ( int year, int month, int day ) : System.DateTime
Load ( ) : void

开始加载数据

MonthsBeforeToday ( int months ) : System.DateTime
OnCompleted ( AsyncCompletedEventArgs args ) : void
OnDataLoaded ( AsyncCompletedEventArgs args ) : void
OnLoading ( ) : void
OnPropertyChanged ( string name ) : void

Private Methods

Method Description
IntervalChanged ( ) : void
OnIntervalChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnPathChanged ( DependencyObject dp, System.Windows.DependencyPropertyChangedEventArgs args ) : void
TimerChanged ( object o, EventArgs e ) : void

Method Details

AppointedDate() public method

public AppointedDate ( int year, int month, int day ) : System.DateTime
year int
month int
day int
return System.DateTime

Load() public method

开始加载数据
public Load ( ) : void
return void

MonthsBeforeToday() public method

public MonthsBeforeToday ( int months ) : System.DateTime
months int
return System.DateTime

OnCompleted() public method

public OnCompleted ( AsyncCompletedEventArgs args ) : void
args System.ComponentModel.AsyncCompletedEventArgs
return void

OnDataLoaded() public method

public OnDataLoaded ( AsyncCompletedEventArgs args ) : void
args System.ComponentModel.AsyncCompletedEventArgs
return void

OnLoading() public method

public OnLoading ( ) : void
return void

OnPropertyChanged() public method

public OnPropertyChanged ( string name ) : void
name string
return void

Property Details

ErrorProperty public_oe static_oe property

public static DependencyProperty,System.Windows ErrorProperty
return System.Windows.DependencyProperty

IsBusyProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsBusyProperty
return System.Windows.DependencyProperty

PathProperty public_oe static_oe property

public static DependencyProperty,System.Windows PathProperty
return System.Windows.DependencyProperty

StateProperty public_oe static_oe property

public static DependencyProperty,System.Windows StateProperty
return System.Windows.DependencyProperty