Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWindowMain = ((Personal_App.MainWindow)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.MetroWindowMain.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainLogin_OnMouseDown);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.MetroWindowMain.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MenuListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.TxtAPPName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:

            #line 278 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBase_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.ChkTopmast = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 6:

            #line 316 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnClose_OnClick);

            #line default
            #line hidden
                return;

            case 7:
                this.MainContentPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 8:
                this.loadMask = ((Personal_App.LoadingOperationPromptPage)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((Personal_App.LoadingOperationPromptPage)(target));

            #line 8 "..\..\LoadingOperationPromptPage.xaml"
                this.root.Loaded += new System.Windows.RoutedEventHandler(this.LoadingOperationPromptPage_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.op1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:

            #line 23 "..\..\LoadingOperationPromptPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button1_OnClick);

            #line default
            #line hidden
                return;

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

            case 6:

            #line 29 "..\..\LoadingOperationPromptPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button2_OnClick);

            #line default
            #line hidden
                return;

            case 7:
                this.op3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:

            #line 36 "..\..\LoadingOperationPromptPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button3_OnClick);

            #line default
            #line hidden
                return;

            case 9:
                this.loadCancas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.C0 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.C1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.C2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 13:
                this.C3 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.C4 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 15:
                this.C5 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 16:
                this.C6 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 17:
                this.C7 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 18:
                this.C8 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 19:
                this.C9 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 20:
                this.SpinnerRotate = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 21:
                this.loadAnimation = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;
            }
            this._contentLoaded = true;
        }