public FrmPrintOption() { try { SplashScreenManager.ShowForm(this, typeof(WaitForm1), true, true, false); InitializeComponent(); publicInstance = this; publicStreetGroup = this; setImages(); ToolStripEvent(); Load += OnFormLoad; btnSelect.Click += Bttn_Click; //cboDate.KeyPress += cboDate_KeyPress; //cboDate.SelectedIndexChanged += cboDate_SelectedIndexChanged; dtpStart.ValueChanged += dtpStart_ValueChanged; dtpStart.Leave += dtpStart_Leave; OnFormLoad(null, null); } finally { SplashScreenManager.CloseForm(false); } }
public FrmPrintOption() { InitializeComponent(); publicInstance = this; publicStreetGroup = this; setImages(); ToolStripEvent(); Load += OnFormLoad; btnSelect.Click += Bttn_Click; OnFormLoad(null, null); }