示例#1
0
        private void настройкаПодключенияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            win_prestart win_prestart = new win_prestart(parental: this);

            win_prestart.MdiParent = this;
            win_prestart.Show();
        }
示例#2
0
 private void win_main_Load(object sender, EventArgs e)
 {
     Prestart();
     if (prestart == true)
     {
         if (user.authorized == false && (MessageBox.Show("Пользватель не авторизован.\nНачать авторизацию?", "Внимание", MessageBoxButtons.YesNo) == DialogResult.Yes))
         {
             Open_win_auth();
         }
     }
     else
     {
         win_prestart conf = new win_prestart(this);
         conf.MdiParent = this;
         conf.Show();
     }
     notify.Visible        = false;
     notify.BalloonTipText = "Приложение свёрнуто";
     notify.Text           = notify.BalloonTipTitle = this.Text;
 }