Пример #1
0
 private void configuracionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Activate();
     // notifyIconScanda.Icon = new System.Drawing.Icon(Application.StartupPath + @"\Resources\111.ico");
     configuracionForm             = new ConfiguracionForm(flag, configuration_path);
     configuracionForm.FormClosed += ConfigurationForm_Close;
     configuracionForm.ShowDialog();
     // Bitmap bmp = Properties.Resources.QuotaDownload;
     // notifyIconScanda.Icon = Icon.FromHandle(bmp.GetHicon());
 }
Пример #2
0
 void LoginForm_Close(object sender, EventArgs e)
 {
     // var form = (LoginForm)sender;
     // form.Close();
     // Close();
     this.Hide();
     configuracionForm = new ConfiguracionForm(flag, configuration_path);
     // configuracionForm.Activate();
     configuracionForm.FormClosed += ConfiguracionForm_Close;
     configuracionForm.ShowDialog();
 }