void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Main = ((QuickTasks.MainWindow)(target)); #line 9 "..\..\MainWindow.xaml" this.Main.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged); #line default #line hidden return; case 2: this.ucTitleBar = ((QuickTasks.TitleBar)(target)); return; case 3: #line 28 "..\..\MainWindow.xaml" ((System.Windows.Controls.DockPanel)(target)).Drop += new System.Windows.DragEventHandler(this.LVI_Drop); #line default #line hidden return; case 4: this.EmptyListBanner = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.ListContainer = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.MainTaskList = ((System.Windows.Controls.ListView)(target)); return; case 7: this.ucInfo = ((QuickTasks.InfoBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UCTitleBar = ((QuickTasks.TitleBar)(target)); return; case 2: this.TitleLbl = ((System.Windows.Controls.Label)(target)); #line 22 "..\..\TitleBar.xaml" this.TitleLbl.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OpenRenameDialog); #line default #line hidden return; case 3: this.UndoBtn = ((System.Windows.Controls.Button)(target)); return; case 4: this.RedoBtn = ((System.Windows.Controls.Button)(target)); return; case 5: this.AddBtn = ((System.Windows.Controls.Button)(target)); return; case 6: this.ReloadBtn = ((System.Windows.Controls.Button)(target)); return; case 7: this.SaveBtn = ((System.Windows.Controls.Button)(target)); return; case 8: this.QuitBtn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }