コード例 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         VisibleSpisokVeshei vc = new VisibleSpisokVeshei();
         Mapping.Metveshi    d  = new Mapping.Metveshi();
         d.Edit(Program.Pole.id, textBox1.Text.ToString());
         this.Close();
     }
     catch (ArgumentOutOfRangeException) { MessageBox.Show("Не все поля заполнены"); }
     catch { MessageBox.Show("Error"); }
 }
コード例 #2
0
 private void toolStripMenuVeshi_Click(object sender, EventArgs e)
 {
     vnesenieinfBD.veshi.SpisokVeshi.VisibleSpisokVeshei visibleclient = new vnesenieinfBD.veshi.SpisokVeshi.VisibleSpisokVeshei();
     visibleclient.ShowDialog();
 }