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

            #line 11 "..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDoubleClick);

            #line default
            #line hidden

            #line 11 "..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MainWindow_MouseLefButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.btnNarrow = ((System.Windows.Controls.Button)(target));

            #line 384 "..\..\..\..\Views\main\MainWindow.xaml"
                this.btnNarrow.Click += new System.Windows.RoutedEventHandler(this.btnNarrow_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 389 "..\..\..\..\Views\main\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label7_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.label8_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.btnUpload = ((Trace.MyContrlClass.ImageButton)(target));
                return;

            case 19:
                this.label12_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.button_Copy2 = ((System.Windows.Controls.Button)(target));

            #line 418 "..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy2.Click += new System.Windows.RoutedEventHandler(this.button_Copy2_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.label12_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.button_Copy = ((System.Windows.Controls.Button)(target));

            #line 424 "..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.label12_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.button_Copy1 = ((System.Windows.Controls.Button)(target));

            #line 436 "..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy1.Click += new System.Windows.RoutedEventHandler(this.button_Copy1_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btnProduction = ((System.Windows.Controls.Button)(target));

            #line 442 "..\..\..\..\Views\main\MainWindow.xaml"
                this.btnProduction.Click += new System.Windows.RoutedEventHandler(this.btnProduction_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.label12_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.btnSet = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 450 "..\..\..\..\Views\main\MainWindow.xaml"
                this.btnSet.Click += new System.Windows.RoutedEventHandler(this.btnSet_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 29:
                this.imgbtnCOFCO = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 30:
                this.FB_Power_Popup2 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 31:
                this.imgbtnRemind = ((Trace.MyContrlClass.ImageButton)(target));
                return;

            case 32:
                this.btnDel = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.btnDel_1 = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.btnDel_2 = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.btnDel_3 = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.btnDel_4 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Login1 = ((Trace.Login)(target));

            #line 8 "..\..\..\..\Views\main\Login.xaml"
                this.Login1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Login1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.Login2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.password1 = ((System.Windows.Controls.PasswordBox)(target));

            #line 98 "..\..\..\..\Views\main\Login.xaml"
                this.password1.GotFocus += new System.Windows.RoutedEventHandler(this.txtPasw_GotFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.TxtPassWord = ((System.Windows.Controls.PasswordBox)(target));

            #line 101 "..\..\..\..\Views\main\Login.xaml"
                this.TxtPassWord.GotFocus += new System.Windows.RoutedEventHandler(this.txtPasw_GotFocus);

            #line default
            #line hidden

            #line 105 "..\..\..\..\Views\main\Login.xaml"
                this.TxtPassWord.PasswordChanged += new System.Windows.RoutedEventHandler(this.password_PasswordChanged);

            #line default
            #line hidden

            #line 105 "..\..\..\..\Views\main\Login.xaml"
                this.TxtPassWord.KeyDown += new System.Windows.Input.KeyEventHandler(this.TxtPassWord_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.txtUser = ((System.Windows.Controls.TextBox)(target));

            #line 117 "..\..\..\..\Views\main\Login.xaml"
                this.txtUser.GotFocus += new System.Windows.RoutedEventHandler(this.txtUser_GotFocus);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.imgbtnLogin = ((Trace.MyContrlClass.ImageButton)(target));
                return;

            case 13:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.progressbar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 15:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }