public SpdtBillWindow GetDialog()
 {
     if (view == null)
     {
         view         = new SpdtBillWindow();
         view.Closed += new EventHandler(view_Closed);
     }
     return(view);
 }
 void view_Closed(object sender, EventArgs e)
 {
     view = null;
 }