private void btnSearchParent_Click(object sender, RoutedEventArgs e) { var view = new ucParentSearchListView(); view.ParentContainer = this; OpenPopUp(view, "Search Parent", 650, 500); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ParentSearchUserControl = ((ES.UI.Setups.ucParentSearchListView)(target)); return; case 2: this.btnSelectParent = ((Telerik.Windows.Controls.RadButton)(target)); #line 19 "..\..\..\..\Setups\ucParentSearchListView.xaml" this.btnSelectParent.Click += new System.Windows.RoutedEventHandler(this.btnSelectParent_Click); #line default #line hidden return; case 3: this.gvParentSearchListView = ((Telerik.Windows.Controls.RadGridView)(target)); return; } this._contentLoaded = true; }