void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\MainWindow.xaml" ((CenterControlEditor.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.InitUI); #line default #line hidden return; case 2: this.Header = ((System.Windows.Controls.Grid)(target)); #line 17 "..\..\MainWindow.xaml" this.Header.MouseMove += new System.Windows.Input.MouseEventHandler(this.MoveThis); #line default #line hidden return; case 3: this.MiniButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 4: this.MaxButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 5: this.CloseButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 6: this.ToolBar = ((System.Windows.Controls.Grid)(target)); return; case 7: this.TitleBar = ((System.Windows.Controls.Grid)(target)); return; case 8: this.Title = ((System.Windows.Controls.Viewbox)(target)); return; case 9: this.title = ((System.Windows.Controls.Label)(target)); return; case 10: this.toolbar = ((System.Windows.Controls.ContentControl)(target)); return; case 11: this.tbIP = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.EditArea = ((System.Windows.Controls.Grid)(target)); return; case 13: this.Area = ((System.Windows.Controls.Grid)(target)); return; case 14: this.Content1 = ((System.Windows.Controls.ContentControl)(target)); return; case 15: this.AreasEditor = ((CenterControlEditor.Controls.AreaContainer)(target)); return; case 16: this.Action = ((System.Windows.Controls.Grid)(target)); return; case 17: this.Content2 = ((System.Windows.Controls.ContentControl)(target)); return; case 18: this.ActionEditor = ((CenterControlEditor.Controls.ActionContainer)(target)); return; case 19: this.Opration = ((System.Windows.Controls.Grid)(target)); return; case 20: this.Content3 = ((System.Windows.Controls.ContentControl)(target)); return; case 21: this.OprationEditor = ((CenterControlEditor.Controls.OprationContainer)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Header = ((System.Windows.Controls.Grid)(target)); #line 30 "..\..\MainWindow.xaml" this.Header.MouseMove += new System.Windows.Input.MouseEventHandler(this.MoveThis); #line default #line hidden return; case 2: this.MiniButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 3: this.MaxButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 4: this.CloseButton = ((CenterControlEditor.Controls.SettingButton)(target)); return; case 5: this.Title = ((System.Windows.Controls.Viewbox)(target)); return; case 6: this.title = ((System.Windows.Controls.Label)(target)); return; case 7: this.toolBar = ((System.Windows.Controls.ContentControl)(target)); return; case 8: this.tbIP = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.TabControl1 = ((System.Windows.Controls.TabControl)(target)); #line 59 "..\..\MainWindow.xaml" this.TabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl1_SelectionChanged); #line default #line hidden return; case 10: this.Area = ((System.Windows.Controls.Grid)(target)); return; case 11: this.AreasEditor = ((CenterControlEditor.Controls.AreaContainer)(target)); return; case 12: this.Action = ((System.Windows.Controls.Grid)(target)); return; case 13: this.ActionEditor = ((CenterControlEditor.Controls.ActionContainer)(target)); return; case 14: this.Opration = ((System.Windows.Controls.Grid)(target)); return; case 15: this.OprationEditor = ((CenterControlEditor.Controls.OprationContainer)(target)); return; } this._contentLoaded = true; }