示例#1
0
 public static DeleteObject GetDeleteObject()
 {
     if (del_object == null)
     {
         del_object = new DeleteObject();
     }
     del_object.Activate();
     return(del_object);
 }
示例#2
0
 private void DeleteObject_Click(object sender, RoutedEventArgs e)
 {
     del_object = DeleteObject.GetDeleteObject();
     del_object.Show();
 }
示例#3
0
 private void Window_Closed(object sender, EventArgs e)
 {
     del_object = null;
 }