コード例 #1
0
ファイル: MainWindow.g.i.cs プロジェクト: xkevas24/StockTech
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.selectPanel = ((StockTech.Controls.SelectPannel)(target));
                return;

            case 2:
                this.priceBox = ((StockTech.Controls.PriceInfoBox)(target));
                return;

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

            #line 39 "..\..\..\MainWindow.xaml"
                this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.stockAutoComplete = ((StockTech.Controls.StockAutoComplete)(target));
                return;

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

            case 6:
                this.radioContainer = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 62 "..\..\..\MainWindow.xaml"
                this.buttonUpdate.Click += new System.Windows.RoutedEventHandler(this.buttonUpdate_Click);

            #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.selectPanel = ((StockTech.Controls.SelectPannel)(target));
     return;
     case 2:
     this.priceBox = ((StockTech.Controls.PriceInfoBox)(target));
     return;
     case 3:
     this.buttonAdd = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\MainWindow.xaml"
     this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.stockAutoComplete = ((StockTech.Controls.StockAutoComplete)(target));
     return;
     case 5:
     this.gridContainer = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.radioContainer = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }