private ClientDialog GetDialog()
 {
     if (view == null)
     {
         view         = new ClientDialog();
         view.Closed += View_Closed;
     }
     return(view);
 }
 void View_Closed(object sender, EventArgs e)
 {
     view = null;
 }