示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Me = ((Anything_wpf_main_.MainWindow)(target));

            #line 14 "..\..\..\Form\wndMain.xaml"
                this.Me.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\Form\wndMain.xaml"
                this.Me.LocationChanged += new System.EventHandler(this.Window_LocationChanged);

            #line default
            #line hidden

            #line 16 "..\..\..\Form\wndMain.xaml"
                this.Me.MouseMove += new System.Windows.Input.MouseEventHandler(this.Me_MouseMove);

            #line default
            #line hidden

            #line 16 "..\..\..\Form\wndMain.xaml"
                this.Me.KeyDown += new System.Windows.Input.KeyEventHandler(this.Me_KeyDown);

            #line default
            #line hidden

            #line 16 "..\..\..\Form\wndMain.xaml"
                this.Me.Closing += new System.ComponentModel.CancelEventHandler(this.Me_Closing);

            #line default
            #line hidden

            #line 16 "..\..\..\Form\wndMain.xaml"
                this.Me.Activated += new System.EventHandler(this.Me_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.bdrMain = ((System.Windows.Controls.Border)(target));

            #line 19 "..\..\..\Form\wndMain.xaml"
                this.bdrMain.MouseLeave += new System.Windows.Input.MouseEventHandler(this.bdrMain_MouseLeave);

            #line default
            #line hidden
                return;

            case 3:
                this.bdrMainForm = ((System.Windows.Controls.Border)(target));

            #line 24 "..\..\..\Form\wndMain.xaml"
                this.bdrMainForm.DragEnter += new System.Windows.DragEventHandler(this.bdrMainForm_DragEnter);

            #line default
            #line hidden

            #line 25 "..\..\..\Form\wndMain.xaml"
                this.bdrMainForm.Drop += new System.Windows.DragEventHandler(this.bdrMainForm_Drop);

            #line default
            #line hidden
                return;

            case 4:
                this.FunctionRD = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.BdrFunction = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.btnMin = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\Form\wndMain.xaml"
                this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnMax = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\Form\wndMain.xaml"
                this.btnMax.Click += new System.Windows.RoutedEventHandler(this.btnMax_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\Form\wndMain.xaml"
                this.btnClose.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnClose_MouseLeave);

            #line default
            #line hidden

            #line 56 "..\..\..\Form\wndMain.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.cvsTxt = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.txtMain = ((System.Windows.Controls.TextBox)(target));

            #line 91 "..\..\..\Form\wndMain.xaml"
                this.txtMain.GotFocus += new System.Windows.RoutedEventHandler(this.txtMain_GotFocus);

            #line default
            #line hidden

            #line 92 "..\..\..\Form\wndMain.xaml"
                this.txtMain.LostFocus += new System.Windows.RoutedEventHandler(this.txtMain_LostFocus);

            #line default
            #line hidden

            #line 93 "..\..\..\Form\wndMain.xaml"
                this.txtMain.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtMain_TextChanged);

            #line default
            #line hidden

            #line 94 "..\..\..\Form\wndMain.xaml"
                this.txtMain.MouseMove += new System.Windows.Input.MouseEventHandler(this.txtMain_MouseMove);

            #line default
            #line hidden

            #line 94 "..\..\..\Form\wndMain.xaml"
                this.txtMain.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtMain_KeyDown);

            #line default
            #line hidden

            #line 94 "..\..\..\Form\wndMain.xaml"
                this.txtMain.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtMain_MouseUp);

            #line default
            #line hidden

            #line 95 "..\..\..\Form\wndMain.xaml"
                this.txtMain.MouseEnter += new System.Windows.Input.MouseEventHandler(this.txtMain_MouseEnter);

            #line default
            #line hidden

            #line 95 "..\..\..\Form\wndMain.xaml"
                this.txtMain.MouseLeave += new System.Windows.Input.MouseEventHandler(this.txtMain_MouseLeave);

            #line default
            #line hidden
                return;

            case 11:

            #line 99 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SearchWebMenuItem_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 107 "..\..\..\Form\wndMain.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.scrlist = ((System.Windows.Controls.ScrollViewer)(target));

            #line 119 "..\..\..\Form\wndMain.xaml"
                this.scrlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.scrlist_KeyDown);

            #line default
            #line hidden
                return;

            case 14:
                this.Recent = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 15:

            #line 125 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNewMenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 127 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddComputerMenuItem_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 128 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMyDocumentMenuItem_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 129 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddRecycleBinMenuItem_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 130 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddControlPanelMenuItem_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 131 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNetworkNeighborhoodMenuItem_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.Plugins = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 22:

            #line 136 "..\..\..\Form\wndMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SettingsMenuItem_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.Me = ((Anything_wpf_main_.MainWindow)(target));

            #line 12 "..\..\..\Form\frmMain.xaml"
                this.Me.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\Form\frmMain.xaml"
                this.Me.LocationChanged += new System.EventHandler(this.Window_LocationChanged);

            #line default
            #line hidden

            #line 13 "..\..\..\Form\frmMain.xaml"
                this.Me.MouseMove += new System.Windows.Input.MouseEventHandler(this.Me_MouseMove);

            #line default
            #line hidden

            #line 13 "..\..\..\Form\frmMain.xaml"
                this.Me.KeyDown += new System.Windows.Input.KeyEventHandler(this.Me_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.bdrMainForm = ((System.Windows.Controls.Border)(target));

            #line 20 "..\..\..\Form\frmMain.xaml"
                this.bdrMainForm.DragEnter += new System.Windows.DragEventHandler(this.bdrMainForm_DragEnter);

            #line default
            #line hidden

            #line 21 "..\..\..\Form\frmMain.xaml"
                this.bdrMainForm.Drop += new System.Windows.DragEventHandler(this.bdrMainForm_Drop);

            #line default
            #line hidden
                return;

            case 4:
                this.FunctionRD = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.BdrFunction = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.btnMin = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Form\frmMain.xaml"
                this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnMax = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\Form\frmMain.xaml"
                this.btnMax.Click += new System.Windows.RoutedEventHandler(this.btnMax_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\Form\frmMain.xaml"
                this.btnClose.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnClose_MouseLeave);

            #line default
            #line hidden

            #line 51 "..\..\..\Form\frmMain.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.txtMain = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\..\Form\frmMain.xaml"
                this.txtMain.GotFocus += new System.Windows.RoutedEventHandler(this.txtMain_GotFocus);

            #line default
            #line hidden

            #line 85 "..\..\..\Form\frmMain.xaml"
                this.txtMain.LostFocus += new System.Windows.RoutedEventHandler(this.txtMain_LostFocus);

            #line default
            #line hidden

            #line 86 "..\..\..\Form\frmMain.xaml"
                this.txtMain.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtMain_TextChanged);

            #line default
            #line hidden

            #line 87 "..\..\..\Form\frmMain.xaml"
                this.txtMain.MouseMove += new System.Windows.Input.MouseEventHandler(this.txtMain_MouseMove);

            #line default
            #line hidden
                return;

            case 10:
                this.scrlist = ((System.Windows.Controls.ScrollViewer)(target));

            #line 106 "..\..\..\Form\frmMain.xaml"
                this.scrlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.scrlist_KeyDown);

            #line default
            #line hidden
                return;

            case 11:
                this.Recent = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }