public static DeleteContract GetDeleteContract() { if (del_contract == null) { del_contract = new DeleteContract(); } del_contract.Activate(); return(del_contract); }
private void Window_Closed(object sender, EventArgs e) { del_contract = null; }
private void DeleteContract_Click(object sender, RoutedEventArgs e) { del_contract = DeleteContract.GetDeleteContract(); del_contract.Show(); }