Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                ((tscui.Pages.BaseTime.BaseTimeView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                ((tscui.Pages.BaseTime.BaseTimeView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.baseTimeViewModel = ((tscui.Pages.BaseTime.BaseTimeViewModel)(target));
                return;

            case 3:
                this._loading = ((tscui.Pages.LoadingMask.LoadingMask)(target));
                return;

            case 4:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 5:
                this.cbxJanuary = ((System.Windows.Controls.CheckBox)(target));

            #line 31 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJanuary.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJanuary_Unchecked);

            #line default
            #line hidden

            #line 31 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJanuary.Checked += new System.Windows.RoutedEventHandler(this.cbxJanuary_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.cbxFebruary = ((System.Windows.Controls.CheckBox)(target));

            #line 32 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxFebruary.Checked += new System.Windows.RoutedEventHandler(this.cbxFebruary_Checked);

            #line default
            #line hidden

            #line 32 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxFebruary.Unchecked += new System.Windows.RoutedEventHandler(this.cbxFebruary_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.cbxMarch = ((System.Windows.Controls.CheckBox)(target));

            #line 33 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxMarch.Checked += new System.Windows.RoutedEventHandler(this.cbxMarch_Checked);

            #line default
            #line hidden

            #line 33 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxMarch.Unchecked += new System.Windows.RoutedEventHandler(this.cbxMarch_Unchecked);

            #line default
            #line hidden
                return;

            case 8:
                this.cbxApril = ((System.Windows.Controls.CheckBox)(target));

            #line 34 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxApril.Checked += new System.Windows.RoutedEventHandler(this.cbxApril_Checked);

            #line default
            #line hidden

            #line 34 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxApril.Unchecked += new System.Windows.RoutedEventHandler(this.cbxApril_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.cbxMay = ((System.Windows.Controls.CheckBox)(target));

            #line 35 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxMay.Checked += new System.Windows.RoutedEventHandler(this.cbxMay_Checked);

            #line default
            #line hidden

            #line 35 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxMay.Unchecked += new System.Windows.RoutedEventHandler(this.cbxMay_Unchecked);

            #line default
            #line hidden
                return;

            case 10:
                this.cbxJune = ((System.Windows.Controls.CheckBox)(target));

            #line 36 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJune.Checked += new System.Windows.RoutedEventHandler(this.cbxJune_Checked);

            #line default
            #line hidden

            #line 36 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJune.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJune_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.cbxJuly = ((System.Windows.Controls.CheckBox)(target));

            #line 37 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJuly.Checked += new System.Windows.RoutedEventHandler(this.cbxJuly_Checked);

            #line default
            #line hidden

            #line 37 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxJuly.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJuly_Unchecked);

            #line default
            #line hidden
                return;

            case 12:
                this.cbxAugust = ((System.Windows.Controls.CheckBox)(target));

            #line 38 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxAugust.Checked += new System.Windows.RoutedEventHandler(this.cbxAugust_Checked);

            #line default
            #line hidden

            #line 38 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxAugust.Unchecked += new System.Windows.RoutedEventHandler(this.cbxAugust_Unchecked);

            #line default
            #line hidden
                return;

            case 13:
                this.cbxAllMonth = ((System.Windows.Controls.CheckBox)(target));

            #line 39 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxAllMonth.Checked += new System.Windows.RoutedEventHandler(this.cbxAllMonth_Checked);

            #line default
            #line hidden

            #line 39 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxAllMonth.Unchecked += new System.Windows.RoutedEventHandler(this.cbxAllMonth_Unchecked);

            #line default
            #line hidden
                return;

            case 14:
                this.cbxSeptember = ((System.Windows.Controls.CheckBox)(target));

            #line 40 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxSeptember.Checked += new System.Windows.RoutedEventHandler(this.cbxSeptember_Checked);

            #line default
            #line hidden

            #line 40 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxSeptember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxSeptember_Unchecked);

            #line default
            #line hidden
                return;

            case 15:
                this.cbxOctober = ((System.Windows.Controls.CheckBox)(target));

            #line 41 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxOctober.Checked += new System.Windows.RoutedEventHandler(this.cbxOctober_Checked);

            #line default
            #line hidden

            #line 41 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxOctober.Unchecked += new System.Windows.RoutedEventHandler(this.cbxOctober_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.cbxNovember = ((System.Windows.Controls.CheckBox)(target));

            #line 42 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxNovember.Checked += new System.Windows.RoutedEventHandler(this.cbxNovember_Checked);

            #line default
            #line hidden

            #line 42 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxNovember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxNovember_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.cbxDecember = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxDecember.Checked += new System.Windows.RoutedEventHandler(this.cbxDecember_Checked);

            #line default
            #line hidden

            #line 52 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxDecember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxDecember_Unchecked);

            #line default
            #line hidden
                return;

            case 18:
                this.btnRead = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.btnRead.Click += new System.Windows.RoutedEventHandler(this.btnRead_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.lbxPlanId = ((System.Windows.Controls.ListBox)(target));

            #line 69 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.lbxPlanId.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbxPlanId_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 69 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.lbxPlanId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbxPlanId_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.cbxScheduleId = ((System.Windows.Controls.ComboBox)(target));

            #line 73 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
                this.cbxScheduleId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxScheduleId_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 15 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     ((tscui.Pages.BaseTime.BaseTimeView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     
     #line 15 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     ((tscui.Pages.BaseTime.BaseTimeView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.baseTimeViewModel = ((tscui.Pages.BaseTime.BaseTimeViewModel)(target));
     return;
     case 3:
     this._loading = ((tscui.Pages.LoadingMask.LoadingMask)(target));
     return;
     case 4:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.cbxJanuary = ((System.Windows.Controls.CheckBox)(target));
     
     #line 31 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJanuary.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJanuary_Unchecked);
     
     #line default
     #line hidden
     
     #line 31 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJanuary.Checked += new System.Windows.RoutedEventHandler(this.cbxJanuary_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.cbxFebruary = ((System.Windows.Controls.CheckBox)(target));
     
     #line 32 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxFebruary.Checked += new System.Windows.RoutedEventHandler(this.cbxFebruary_Checked);
     
     #line default
     #line hidden
     
     #line 32 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxFebruary.Unchecked += new System.Windows.RoutedEventHandler(this.cbxFebruary_Unchecked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.cbxMarch = ((System.Windows.Controls.CheckBox)(target));
     
     #line 33 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxMarch.Checked += new System.Windows.RoutedEventHandler(this.cbxMarch_Checked);
     
     #line default
     #line hidden
     
     #line 33 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxMarch.Unchecked += new System.Windows.RoutedEventHandler(this.cbxMarch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.cbxApril = ((System.Windows.Controls.CheckBox)(target));
     
     #line 34 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxApril.Checked += new System.Windows.RoutedEventHandler(this.cbxApril_Checked);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxApril.Unchecked += new System.Windows.RoutedEventHandler(this.cbxApril_Unchecked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cbxMay = ((System.Windows.Controls.CheckBox)(target));
     
     #line 35 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxMay.Checked += new System.Windows.RoutedEventHandler(this.cbxMay_Checked);
     
     #line default
     #line hidden
     
     #line 35 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxMay.Unchecked += new System.Windows.RoutedEventHandler(this.cbxMay_Unchecked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.cbxJune = ((System.Windows.Controls.CheckBox)(target));
     
     #line 36 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJune.Checked += new System.Windows.RoutedEventHandler(this.cbxJune_Checked);
     
     #line default
     #line hidden
     
     #line 36 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJune.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJune_Unchecked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.cbxJuly = ((System.Windows.Controls.CheckBox)(target));
     
     #line 37 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJuly.Checked += new System.Windows.RoutedEventHandler(this.cbxJuly_Checked);
     
     #line default
     #line hidden
     
     #line 37 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxJuly.Unchecked += new System.Windows.RoutedEventHandler(this.cbxJuly_Unchecked);
     
     #line default
     #line hidden
     return;
     case 12:
     this.cbxAugust = ((System.Windows.Controls.CheckBox)(target));
     
     #line 38 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxAugust.Checked += new System.Windows.RoutedEventHandler(this.cbxAugust_Checked);
     
     #line default
     #line hidden
     
     #line 38 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxAugust.Unchecked += new System.Windows.RoutedEventHandler(this.cbxAugust_Unchecked);
     
     #line default
     #line hidden
     return;
     case 13:
     this.cbxAllMonth = ((System.Windows.Controls.CheckBox)(target));
     
     #line 39 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxAllMonth.Checked += new System.Windows.RoutedEventHandler(this.cbxAllMonth_Checked);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxAllMonth.Unchecked += new System.Windows.RoutedEventHandler(this.cbxAllMonth_Unchecked);
     
     #line default
     #line hidden
     return;
     case 14:
     this.cbxSeptember = ((System.Windows.Controls.CheckBox)(target));
     
     #line 40 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxSeptember.Checked += new System.Windows.RoutedEventHandler(this.cbxSeptember_Checked);
     
     #line default
     #line hidden
     
     #line 40 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxSeptember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxSeptember_Unchecked);
     
     #line default
     #line hidden
     return;
     case 15:
     this.cbxOctober = ((System.Windows.Controls.CheckBox)(target));
     
     #line 41 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxOctober.Checked += new System.Windows.RoutedEventHandler(this.cbxOctober_Checked);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxOctober.Unchecked += new System.Windows.RoutedEventHandler(this.cbxOctober_Unchecked);
     
     #line default
     #line hidden
     return;
     case 16:
     this.cbxNovember = ((System.Windows.Controls.CheckBox)(target));
     
     #line 42 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxNovember.Checked += new System.Windows.RoutedEventHandler(this.cbxNovember_Checked);
     
     #line default
     #line hidden
     
     #line 42 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxNovember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxNovember_Unchecked);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cbxDecember = ((System.Windows.Controls.CheckBox)(target));
     
     #line 52 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxDecember.Checked += new System.Windows.RoutedEventHandler(this.cbxDecember_Checked);
     
     #line default
     #line hidden
     
     #line 52 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxDecember.Unchecked += new System.Windows.RoutedEventHandler(this.cbxDecember_Unchecked);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnRead = ((System.Windows.Controls.Button)(target));
     
     #line 62 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.btnRead.Click += new System.Windows.RoutedEventHandler(this.btnRead_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 63 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.lbxPlanId = ((System.Windows.Controls.ListBox)(target));
     
     #line 69 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.lbxPlanId.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbxPlanId_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 69 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.lbxPlanId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbxPlanId_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.cbxScheduleId = ((System.Windows.Controls.ComboBox)(target));
     
     #line 73 "..\..\..\..\Pages\BaseTime\BaseTimeView.xaml"
     this.cbxScheduleId.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxScheduleId_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }