Пример #1
0
 private void addBtn_Click(object sender, EventArgs e)
 {
     TXTIDN.Text     = ws.getNatNum();
     panel3.Enabled  = true;
     panel4.Enabled  = true;
     panel5.Enabled  = true;
     panel6.Enabled  = true;
     panel8.Enabled  = true;
     panel9.Enabled  = true;
     panel10.Enabled = true;
     TXTNN.Focus();
     SaveBtn.Enabled = true;
 }
Пример #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     panel3.Enabled  = false;
     panel4.Enabled  = false;
     panel5.Enabled  = false;
     panel6.Enabled  = false;
     panel8.Enabled  = false;
     panel9.Enabled  = false;
     panel10.Enabled = false;
     TXTNN.Focus();
     SaveBtn.Enabled = false;
     //TestData();
 }