Пример #1
0
 private void domainTextBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         OKbutton.PerformClick();
         // these last two lines will stop the beep sound
         e.SuppressKeyPress = true;
         e.Handled          = true;
     }
 }
Пример #2
0
 public void uptateStatusBar(int value)
 {
     progressBar1.Value = value;
     //progressBar1.Update();
     if (progressBar1.Value == progressBar1.Maximum)
     {
         progressBar1.Hide();
         OKbutton.Show();
         label1.Text = "Successfully Exported Data to Excel";
         finalLabel.Hide();
     }
 }
Пример #3
0
 public PleaseWaitForm()
 {
     InitializeComponent();
     OKbutton.Hide();
 }