示例#1
0
        private void EditBtn_Click(object sender, EventArgs e)
        {
            ResourcesAddForm a = new ResourcesAddForm("Редактирование товара",
                                                      dataGridView1.CurrentRow.Cells[0].Value.ToString(),
                                                      dataGridView1.CurrentRow.Cells[1].Value.ToString(), true);

            a.ShowDialog();
        }
示例#2
0
文件: Form1.cs 项目: RusTNT/-
        private void panel5_Click(object sender, EventArgs e)
        {
            ResourcesAddForm a = new ResourcesAddForm("Добавление нового товара", "", "", false);

            a.ShowDialog();
        }