public SelectStudent(SelectInstructor i_parent) { InitializeComponent(); _parent_win = i_parent; SetInitConfigWindow(); GetData(); instance = this; }
public SelectInstructor(MainWindow i_parent) { InitializeComponent(); _parent_win = i_parent; pilotLogic = new PilotLogic(); SetInitConfigWindow(); GetData(); instance = this; }
/// <summary> /// Description: Cuando se cierra la ventana muestra al padre /// </summary> private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { _parent_win.Show(); instance = null; }