Ejemplo n.º 1
0
        private void módosítás_Click(object _sender, EventArgs _event)
        {
            if ((table.SelectedRows.Count == 0) || (table.SelectedRows[0].Index == data.Rows.Count))
            {
                return;
            }

            Form_Íjtípus íjtípus = new Form_Íjtípus(new Íjtípus(data.Rows[table.SelectedRows[0].Index][0].ToString(),
                                                                data.Rows[table.SelectedRows[0].Index][1].ToString(), Convert.ToInt32(data.Rows[table.SelectedRows[0].Index][2]), Convert.ToInt32(data.Rows[table.SelectedRows[0].Index][3])));

            íjtípus.ShowDialog();
        }
Ejemplo n.º 2
0
        private void hozzáadás_Click(object _sender, EventArgs _event)
        {
            Form_Íjtípus íjtípus = new Form_Íjtípus();

            íjtípus.ShowDialog();
        }