示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Control = ((MaterialMenu.SideMenu)(target));
                return;

            case 2:
                this.MenuColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 3:
                this.ShadowColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.MenuPresenter = ((System.Windows.Controls.ContentPresenter)(target));
                return;

            case 5:

            #line 25 "..\..\SideMenu.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ShadowMouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Menu = ((MaterialMenu.SideMenu)(target));
         return;
     }
     this._contentLoaded = true;
 }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomMenu = ((MaterialMenu.SideMenu)(target));
                return;

            case 2:
                this.Pagenb2 = ((System.Windows.Controls.Frame)(target));
                return;

            case 3:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\Page2.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click_1);

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

            #line 6 "..\..\AppMain.xaml"
                ((Enju.AppMain)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyPress);

            #line default
            #line hidden

            #line 6 "..\..\AppMain.xaml"
                ((Enju.AppMain)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\AppMain.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.User = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 17 "..\..\AppMain.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.Minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\AppMain.xaml"
                this.normal.Click += new System.Windows.RoutedEventHandler(this.Normal_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Maximize = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\AppMain.xaml"
                this.Maximize.Click += new System.Windows.RoutedEventHandler(this.Maximize_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.power = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\AppMain.xaml"
                this.power.Click += new System.Windows.RoutedEventHandler(this.Power_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnShowConnect = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\AppMain.xaml"
                this.btnShowConnect.Click += new System.Windows.RoutedEventHandler(this.BtnShowConnect_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnDisConnect = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\AppMain.xaml"
                this.btnDisConnect.Click += new System.Windows.RoutedEventHandler(this.BtnShowConnect_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnExportExcel = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\AppMain.xaml"
                this.btnExportExcel.Click += new System.Windows.RoutedEventHandler(this.BtnExportExcel_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cbxDataBase = ((System.Windows.Controls.ComboBox)(target));

            #line 48 "..\..\AppMain.xaml"
                this.cbxDataBase.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbxDataBase_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\AppMain.xaml"
                this.btnExecute.Click += new System.Windows.RoutedEventHandler(this.BtnExecute_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.tabDynamic = ((System.Windows.Controls.TabControl)(target));

            #line 61 "..\..\AppMain.xaml"
                this.tabDynamic.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabDynamic_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.Menu = ((MaterialMenu.SideMenu)(target));

            #line 80 "..\..\AppMain.xaml"
                this.Menu.Loaded += new System.Windows.RoutedEventHandler(this.Menu_Loaded);

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

            #line 9 "..\..\SideMenu.xaml"
                this.Control.KeyDown += new System.Windows.Input.KeyEventHandler(this.Control_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.MenuColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 3:
                this.ShadowColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.txtServerName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.txtLoginName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtPassWord = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.btnConnect = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\SideMenu.xaml"
                this.btnConnect.Click += new System.Windows.RoutedEventHandler(this.BtnConnect_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.MenuPresenter = ((System.Windows.Controls.ContentPresenter)(target));
                return;

            case 10:

            #line 42 "..\..\SideMenu.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ShadowMouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }