コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((BookStoreManagerment.MainWindow)(target));
                return;

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

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

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

            case 5:
                this.lviLogOut = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.LviExit = ((System.Windows.Controls.ListViewItem)(target));
                return;

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

            case 8:
                this.InfoTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: HomePage.g.i.cs プロジェクト: Pato91/POSxamlC-sharp
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._homeFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 2:
                this.InventoryTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 22 "..\..\HomePage.xaml"
                this.InventoryTile.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.InventoryTile_Click);

            #line default
            #line hidden

            #line 22 "..\..\HomePage.xaml"
                this.InventoryTile.Click += new System.EventHandler(this.InventoryTile_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.salesTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 25 "..\..\HomePage.xaml"
                this.salesTile.Click += new System.EventHandler(this.salesTile_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.usersTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 29 "..\..\HomePage.xaml"
                this.usersTile.Click += new System.EventHandler(this.usersTile_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.reportsTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 33 "..\..\HomePage.xaml"
                this.reportsTile.Click += new System.EventHandler(this.reportsTile_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.expensesTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 37 "..\..\HomePage.xaml"
                this.expensesTile.Click += new System.EventHandler(this.expensesTile_Click);

            #line default
            #line hidden
                return;

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

            case 8:

            #line 45 "..\..\HomePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.newsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._inventoryFrame = ((System.Windows.Controls.Frame)(target));
                return;

            case 2:
                this._backToMain = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\InventoryManager.xaml"
                this._backToMain.Click += new System.Windows.RoutedEventHandler(this._backToMain_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.addInventoryTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 35 "..\..\InventoryManager.xaml"
                this.addInventoryTile.Click += new System.EventHandler(this.addInventoryTile_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.viewStockTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 38 "..\..\InventoryManager.xaml"
                this.viewStockTile.Click += new System.EventHandler(this.viewStockTile_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.removeExpiredStock = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 41 "..\..\InventoryManager.xaml"
                this.removeExpiredStock.Click += new System.EventHandler(this.removeExpiredStock_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.sellStockTile = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 44 "..\..\InventoryManager.xaml"
                this.sellStockTile.Click += new System.EventHandler(this.sellStockTile_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.inventoryReport = ((DevExpress.Xpf.LayoutControl.Tile)(target));

            #line 47 "..\..\InventoryManager.xaml"
                this.inventoryReport.Click += new System.EventHandler(this.inventoryReport_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
ファイル: Menu.g.i.cs プロジェクト: tonryu/NSPIRESystem
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 2:
     this.txtblockMenu = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.tlMenu = ((DevExpress.Xpf.LayoutControl.TileLayoutControl)(target));
     return;
     case 4:
     this.tileAdmin = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 5:
     this.tileLead = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 6:
     this.tileTask = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 7:
     this.tileCustomerService = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 8:
     this.tileProject = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 9:
     this.tileMarketing = ((DevExpress.Xpf.LayoutControl.Tile)(target));
     return;
     case 10:
     this.borderTransparent = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }