private void Window_Closed(object sender, EventArgs e) { Properties.Settings.Default.LastSelectDir = App.lastDir; Properties.Settings.Default.Save(); if (open != null) { open.Close(); } }
private void Pocetna_FormClosing(object sender, FormClosingEventArgs e) { Open o = new Open(); o.Close(); }