private void btnContinue_Click(object sender, EventArgs e) { Cursor.Current = Cursors.Default; uModule.uHtmlSelected = htmlSelected._splashHtml; FormChrome myForm = new FormChrome(); myForm.Show(); this.Hide(); }
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { if (!myIsCanceled) { Cursor.Current = Cursors.Default; uModule.uHtmlSelected = htmlSelected._mppHtml; FormChrome myForm = new FormChrome(); myForm.Show(); this.Hide(); } }
private void btnExit_Click(object sender, EventArgs e) { myIsCanceled = true; backgroundWorker1.CancelAsync(); Cursor.Current = Cursors.Default; uModule.uHtmlSelected = htmlSelected._splashHtml; FormChrome myForm = new FormChrome(); myForm.Show(); this.Hide(); }
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { pictureBox1.Visible = false; pictureBox1.Enabled = false; this.UseWaitCursor = false; Cursor.Current = Cursors.Default; this.Hide(); uModule.uHtmlSelected = htmlSelected._splashHtml; FormChrome myForm = new FormChrome(); myForm.Show(); }
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { Cursor.Current = Cursors.Default; if (uModule.uHtmlSelected == htmlSelected._none) { timer1.Stop(); timer1.Enabled = false; this.label1.Visible = false; this.pictureBox1.Visible = false; this.label2.Visible = true; this.panel2.Visible = true; this.btnLaunch.Visible = true; this.btnContinue.Visible = true; this.btnExit.Visible = true; } else { FormChrome myForm = new FormChrome(); myForm.Show(); this.Hide(); } }