Exemplo n.º 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();
        }
Exemplo n.º 2
0
Arquivo: Form1.cs Projeto: RusTNT/-
        private void panel5_Click(object sender, EventArgs e)
        {
            ResourcesAddForm a = new ResourcesAddForm("Добавление нового товара", "", "", false);

            a.ShowDialog();
        }