Ejemplo n.º 1
0
 private void запаролитьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (isPass)
     {
         cheakpass = new CheakPass();
         cheakpass.Show();
         cheakpass.FormClosed += MyClosedHandlerCheakPass3;
     }
     else
     {
         newPass = new Password();
         newPass.Show();
         newPass.FormClosed += MyClosedHandlerNewPass;
     }
 }
Ejemplo n.º 2
0
 private void удалениеЗаписейToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (isPass)
     {
         cheakpass = new CheakPass();
         cheakpass.Show();
         cheakpass.FormClosed += MyClosedHandlerCheakPass2;
     }
     else
     {
         deleateEl           = new Search();
         deleateEl.Text      = "Deleate Element";
         deleateEl.arrDomain = new string[] { "Наименование", "Фирма", "Номер магазина", "ID элемента" };
         deleateEl.Show();
         deleateEl.FormClosed += MyClosedHandlerDeleteEl;
     }
 }
Ejemplo n.º 3
0
 //---------//
 private void редToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (isPass)
     {
         cheakpass = new CheakPass();
         cheakpass.Show();
         cheakpass.FormClosed += MyClosedHandlerCheakPass;
     }
     else
     {
         redactionSearch           = new Search();
         redactionSearch.Text      = "Redaction";
         redactionSearch.arrDomain = new string[] { "ID элемента" };
         redactionSearch.Show();
         redactionSearch.FormClosed += MyClosedHandlerRedaction;
     }
 }