void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Employee = ((Patel_Tech.listofEmployee)(target)); return; case 2: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 10 "..\..\listofEmployee.xaml" this.dataGrid.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; } this._contentLoaded = true; }
private void listEmployeebtton_Click(object sender, RoutedEventArgs e) { listofEmployee listofemployee = new listofEmployee(); listofemployee.Show(); }