public table[] setNewDogovor([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] table arg0)
        {
            object[] results = this.Invoke("setNewDogovor", new object[] {
                arg0
            });

            return((table[])(results[0]));
        }
 /// <remarks/>
 public void setNewDogovorAsync(table arg0, object userState)
 {
     if ((this.setNewDogovorOperationCompleted == null))
     {
         this.setNewDogovorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetNewDogovorOperationCompleted);
     }
     this.InvokeAsync("setNewDogovor", new object[] {
         arg0
     }, this.setNewDogovorOperationCompleted, userState);
 }
Example #3
0
 private void btnAddForm_Click(object sender, EventArgs e)
 {
     try
     {
         table        = new localhost.table();
         table.name   = cmbAdress.SelectedItem.ToString();
         table.ysluga = cmbYsluga.SelectedItem.ToString();
         table.tarif  = cmbTarif.SelectedItem.ToString();
         table.razmer = Convert.ToInt32(spn1.Value);
         table.ispol  = cmbIspol.SelectedItem.ToString();
         table.otvet  = cmbOtvet.SelectedItem.ToString();
         table.price  = Convert.ToInt32(txt.Text);
         this.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show(this, "Ошибка: " + "Некорректный ввод. Попытайтесь снова", "Сообщение об ошибке", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 /// <remarks/>
 public void setNewDogovorAsync(table arg0)
 {
     this.setNewDogovorAsync(arg0, null);
 }