示例#1
0
        static void ClockPickOperateTypePropertyChange(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            QClockPicker oo = (QClockPicker)obj;

            oo.UpdateOperateType();
            oo.UpdateTime();
        }
示例#2
0
        static void SelectedTimePropertyChange(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            QClockPicker oo = (QClockPicker)obj;

            if (oo.m_IsStartDrag == false)
            {
                oo.UpdateTime();
            }
        }
示例#3
0
        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;
        }