private void Main_Load(object sender, EventArgs e) { this.Text = this.Text + " V" + new FormAbout().AssemblyVersion; frmDatabase = new FormDatabase(); frmDatabase.Show(dp); frmStatus = new FormStatus(); frmStatus.Show(dp); OpenUrl(HOME_URL); }
private void FormMain_Load(object sender, EventArgs e) { this.Text = this.Text + " V" + new FormAbout().AssemblyVersion; frmDatabase = new FormDatabase(this.contextMenuStrip1); frmDatabase.Show(dockPanel); frmStatus = new FormStatus(); frmStatus.Show(dockPanel); BackgroundWorker bw = new BackgroundWorker(); bw.DoWork += new DoWorkEventHandler(bw_DoWork); bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompleted); bw.RunWorkerAsync(); OpenUrl(HOME_URL); }
private void menufrmDatabase_Click(object sender, EventArgs e) { frmDatabase.Show(dp); }