示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\THourView.xaml"
                ((Utility.Tool.Controls.View.THourView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tbTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.iBtnCloseView = ((Utility.Tool.Controls.View.IconButton)(target));
                return;

            case 4:
                this.dgHour = ((System.Windows.Controls.DataGrid)(target));

            #line 64 "..\..\..\View\THourView.xaml"
                this.dgHour.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.dgHour_SelectedCellsChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\View\DateTimePicker.xaml"
                ((Utility.Tool.Controls.View.DateTimePicker)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.iconButton1 = ((Utility.Tool.Controls.View.IconButton)(target));
                return;

            case 4:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.girdChioce = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.popChioce = ((System.Windows.Controls.Primitives.Popup)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\TDateTimeView.xaml"
                ((Utility.Tool.Controls.View.TDateTimeView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tbTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.iBtnCloseView = ((Utility.Tool.Controls.View.IconButton)(target));
                return;

            case 4:
                this.calDate = ((System.Windows.Controls.Calendar)(target));

            #line 172 "..\..\..\View\TDateTimeView.xaml"
                this.calDate.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.calDate_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 5:
                this.TDateTime2 = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.lblTime = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.textBlockhh = ((System.Windows.Controls.TextBlock)(target));

            #line 199 "..\..\..\View\TDateTimeView.xaml"
                this.textBlockhh.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlockhh_MouseUp);

            #line default
            #line hidden
                return;

            case 8:
                this.textBlockh = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.textBlockmm = ((System.Windows.Controls.TextBlock)(target));

            #line 220 "..\..\..\View\TDateTimeView.xaml"
                this.textBlockmm.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlockmm_MouseUp);

            #line default
            #line hidden
                return;

            case 10:
                this.textBlockm = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.textBlockss = ((System.Windows.Controls.TextBlock)(target));

            #line 238 "..\..\..\View\TDateTimeView.xaml"
                this.textBlockss.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlockss_MouseUp);

            #line default
            #line hidden
                return;

            case 12:
                this.btnNow = ((System.Windows.Controls.Button)(target));

            #line 250 "..\..\..\View\TDateTimeView.xaml"
                this.btnNow.Click += new System.Windows.RoutedEventHandler(this.btnNow_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 262 "..\..\..\View\TDateTimeView.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.girdChioce = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.popChioce = ((System.Windows.Controls.Primitives.Popup)(target));
                return;
            }
            this._contentLoaded = true;
        }