Example #1
0
 public LoadAddEditForm(AllocateLoading ld_form)
 {
     InitializeComponent();
     this.ld_form = ld_form;
     // Если задано редактирование - заполняем поля данными
     if (this.ld_form.curr_index != -1)
     {
         btn_add.Text = "Сохранить";
         this.Text = "Редактировать запись";
         FillData();
     }
 }
Example #2
0
 private void btn_loading_Click(object sender, EventArgs e)
 {
     AllocateLoading allocLoading = new AllocateLoading();
     allocLoading.ShowDialog();
 }