Пример #1
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            FormGoodsSeriesInput formGoodsSeriesInput = new FormGoodsSeriesInput();

            formGoodsSeriesInput.Tag   = "Add";
            formGoodsSeriesInput.Owner = this;
            formGoodsSeriesInput.ShowDialog();
        }
Пример #2
0
 private void toolAmend_Click(object sender, EventArgs e)
 {
     if (dgvGoodsSeries.Rows.Count > 0)
     {
         FormGoodsSeriesInput formGoodsSeriesInput = new FormGoodsSeriesInput();
         formGoodsSeriesInput.Tag   = "Edit";
         formGoodsSeriesInput.Owner = this;
         formGoodsSeriesInput.ShowDialog();
     }
 }