static void ClockPickOperateTypePropertyChange(DependencyObject obj, DependencyPropertyChangedEventArgs args) { QClockPicker oo = (QClockPicker)obj; oo.UpdateOperateType(); oo.UpdateTime(); }
static void SelectedTimePropertyChange(DependencyObject obj, DependencyPropertyChangedEventArgs args) { QClockPicker oo = (QClockPicker)obj; if (oo.m_IsStartDrag == false) { oo.UpdateTime(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.checkbox_type = ((System.Windows.Controls.CheckBox)(target)); #line 21 "..\..\MainWindow.xaml" this.checkbox_type.Click += new System.Windows.RoutedEventHandler(this.checkbox_type_Click); #line default #line hidden return; case 2: this.clock_picker = ((WPF_ClockPicker.QClockPicker)(target)); return; } this._contentLoaded = true; }