public void CreateNewdateChooser()
 {
     dateChooser = new DateChooser(this);
     dateChooser.MdiParent = this;
     dateChooser.StartPosition = FormStartPosition.CenterParent;
     //customerListForm.WindowState = FormWindowState.Maximized;
     dateChooser.MaximizeBox = false;
     dateChooser.MinimizeBox = false;
     dateChooser.ShowIcon = false;
     dateChooser.FormBorderStyle = FormBorderStyle.None;
     dateChooser.Dock = DockStyle.Fill;
 }
 private void CreateDateChooserForm()
 {
     dateChooser = new DateChooser(overView);
     dateChooser.StartPosition = FormStartPosition.CenterParent;
     HomepageFormClosed        = true;
 }