void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.ExcelLoaderControl = ((SampleApplication.Views.ExcelDataLoader)(target));
         return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.XI = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.titleBar = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.Minimize.Click += new System.Windows.RoutedEventHandler(this.Minimize_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.Close.Click += new System.Windows.RoutedEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.content = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 6:
                this.ExcelLoaderControl = ((SampleApplication.Views.ExcelDataLoader)(target));
                return;
            }
            this._contentLoaded = true;
        }