public EvictTillWindow(MySqlConnection connection, studentInfo w, string t) { globalConnection = connection; globalWindow = w; type = t; InitializeComponent(); }
public eviction(MySqlConnection connection, string t, studentInfo s, string ID, studentSerch p) { globalConnection = connection; type = t; id = ID; InitializeComponent(); window = s; page = p; }
private void livingTable_MouseDoubleClick(object sender, MouseButtonEventArgs e) { try { var selST = livingTable.SelectedItem; string _selST = ((LivingItem)selST).id; studentInfo w1 = new studentInfo(globalConnection, _selST, this); w1.ShowDialog(); } catch { } }