Пример #1
0
 public AppartmentWindow GetDialog()
 {
     if (view == null)
     {
         view         = new AppartmentWindow();
         view.Closed += new EventHandler(view_Closed);
     }
     return(view);
 }
Пример #2
0
 void view_Closed(object sender, EventArgs e)
 {
     view = null;
 }