void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppMainWindow = ((TaskPlanningApp.MainWindow)(target));
                return;

            case 2:

            #line 28 "..\..\..\View\MainWindow — Kopia.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseDown);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.NameTextField = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.SurnameTextField = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppMainWindow = ((TaskPlanningApp.MainWindow)(target));
                return;

            case 3:

            #line 158 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseDown);

            #line default
            #line hidden
                return;

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

            case 5:
                this.MinimizeAppButton = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.NameTextField = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:

            #line 300 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.ListView)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged);

            #line default
            #line hidden

            #line 300 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.ListView)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ListView_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 300 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.ListView)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 358 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).Drop += new System.Windows.DragEventHandler(this.Image_Drop);

            #line default
            #line hidden
                return;

            case 9:

            #line 364 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).Drop += new System.Windows.DragEventHandler(this.Image2_Drop);

            #line default
            #line hidden
                return;

            case 10:

            #line 370 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).Drop += new System.Windows.DragEventHandler(this.Image3_Drop);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }