Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((inventory.View.ConfigurationWindow)(target));

            #line 6 "..\..\..\View\ConfigurationWindow.xaml"
                this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Window);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\..\View\ConfigurationWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((inventory.View.ConfigurationWindow)(target));
     
     #line 6 "..\..\..\View\ConfigurationWindow.xaml"
     this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Window);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 8 "..\..\..\View\ConfigurationWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 37 "..\..\..\View\ConfigurationWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }