コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Icc = ((Gss.ManagementMenu.CustomControl.InquiryCustomControl)(target));
                return;

            case 2:

            #line 10 "..\..\..\CustomControl\InquiryCustomControl.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Find);

            #line default
            #line hidden

            #line 10 "..\..\..\CustomControl\InquiryCustomControl.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Find);

            #line default
            #line hidden
                return;

            case 3:

            #line 11 "..\..\..\CustomControl\InquiryCustomControl.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Excel);

            #line default
            #line hidden

            #line 11 "..\..\..\CustomControl\InquiryCustomControl.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Excel);

            #line default
            #line hidden
                return;

            case 4:
                this.ACB = ((Gss.ManagementMenu.CustomControl.AutoComboBox)(target));
                return;

            case 5:
                this.CbProductName = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.CbStockCode = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.CbOrdersType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:

            #line 78 "..\..\..\CustomControl\InquiryCustomControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_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.Icc = ((Gss.ManagementMenu.CustomControl.InquiryCustomControl)(target));
     return;
     case 2:
     
     #line 10 "..\..\..\CustomControl\InquiryCustomControl.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Find);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\CustomControl\InquiryCustomControl.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Find);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 11 "..\..\..\CustomControl\InquiryCustomControl.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Excel);
     
     #line default
     #line hidden
     
     #line 11 "..\..\..\CustomControl\InquiryCustomControl.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Excel);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ACB = ((Gss.ManagementMenu.CustomControl.AutoComboBox)(target));
     return;
     case 5:
     this.CbProductName = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.CbStockCode = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.CbOrdersType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     
     #line 78 "..\..\..\CustomControl\InquiryCustomControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }