コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.acc = ((Gss.PopUpWindow.TradeManager.RecordRealWeightWindow)(target));
                return;

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

            #line 45 "..\..\..\TradeManager\RecordRealWeightWindow.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\TradeManager\RecordRealWeightWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_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.acc = ((Gss.PopUpWindow.TradeManager.RecordRealWeightWindow)(target));
     return;
     case 2:
     this.btnOk = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\TradeManager\RecordRealWeightWindow.xaml"
     this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\TradeManager\RecordRealWeightWindow.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }