void Onb2Click(object sender, RoutedEventArgs e) { InsertDataWindow insertdata = new InsertDataWindow(false, cne.Text, EditWindow.current.filiere); insertdata.Show(); img.Source = null; img = null; GC.Collect(); }
private void addStudent_Click(object sender, RoutedEventArgs e) { InsertDataWindow ins = new InsertDataWindow(true, "", filiere); ins.Show(); }