/// <summary> /// Standard constructor for the tool window. /// </summary> public SearchWndPane2() : base(null) { this.Caption = Properties.Resources.SearchlWindowTitle2; this.BitmapResourceID = 301; this.BitmapIndex = 1; wnd = new SearchToolControl(); base.Content = wnd; Current = this; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyToolWindow = ((Babe.Lua.ToolWindows.SearchToolControl)(target)); return; case 2: this.ListView = ((System.Windows.Controls.ListView)(target)); #line 60 "..\..\..\..\ToolWindows\SearchControl.xaml" this.ListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick); #line default #line hidden #line 63 "..\..\..\..\ToolWindows\SearchControl.xaml" this.ListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListView_SelectionChanged); #line default #line hidden return; case 3: #line 66 "..\..\..\..\ToolWindows\SearchControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_CopyAllResult_Click); #line default #line hidden return; case 4: this.Button_RelativePath = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 69 "..\..\..\..\ToolWindows\SearchControl.xaml" this.Button_RelativePath.Click += new System.Windows.RoutedEventHandler(this.Button_RelativePath_Click); #line default #line hidden return; case 5: #line 72 "..\..\..\..\ToolWindows\SearchControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClearResult_Click); #line default #line hidden return; case 6: this.TextBox_SearchWord = ((System.Windows.Controls.TextBox)(target)); #line 76 "..\..\..\..\ToolWindows\SearchControl.xaml" this.TextBox_SearchWord.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_SearchWord_KeyDown); #line default #line hidden return; case 7: #line 77 "..\..\..\..\ToolWindows\SearchControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Search_Click); #line default #line hidden return; case 8: #line 80 "..\..\..\..\ToolWindows\SearchControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SearchSelect_Click); #line default #line hidden return; } this._contentLoaded = true; }