Exemplo n.º 1
0
 private void добавитьЭлементToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (AccessUser.AccessUser.GetRLType(1))
     {
         using (WinForms.AddInformationAboutElements.AddInformation AddForm = new UchetUSP.WinForms.AddInformationAboutElements.AddInformation(1))
         {
             AddForm.ShowDialog();
         }
     }
     else {
         MessageBox.Show("У Вас нет прав внесения информации по элементам УСП!");
     }
 }
Exemplo n.º 2
0
        private void EditInformation(object sender, EventArgs e)
        {
            if (isDisposed)
            {
                throw new ObjectDisposedException("Layout");
            }

            using (WinForms.AddInformationAboutElements.AddInformation AddForm = new UchetUSP.WinForms.AddInformationAboutElements.AddInformation(2,dataGridView1))
            {
                AddForm.ShowDialog();
            }
        }
Exemplo n.º 3
0
 private void внестиИнформациюПоСуществующейМоделиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (WinForms.AddInformationAboutElements.AddInformation AddForm = new UchetUSP.WinForms.AddInformationAboutElements.AddInformation(1))
     {
         AddForm.ShowDialog();
     }
 }