btnEgyesulet_Click(object _sender, EventArgs _event) { Form_Egyesulet EgyesuletForm = new Form_Egyesulet( ); EgyesuletForm.Show( ); EgyesuletForm.FormClosed += EgyesuletForm_FormClosed; }
Modositas_Click(object _sender, EventArgs _event) { if ((string)data.Rows[table.SelectedRows[0].Index][0] == "") { return; } string[] telefon = data.Rows[table.SelectedRows[0].Index][3].ToString().Split(new string[] { "\r\n" }, StringSplitOptions.None); string[] email = data.Rows[table.SelectedRows[0].Index][4].ToString().Split(new string[] { "\r\n" }, StringSplitOptions.None); Egyesulet egyesulet = new Egyesulet(data.Rows[table.SelectedRows[0].Index][0].ToString(), data.Rows[table.SelectedRows[0].Index][1].ToString(), data.Rows[table.SelectedRows[0].Index][2].ToString(), telefon[0], telefon[1], email[0], email[1], Convert.ToBoolean(data.Rows[table.SelectedRows[0].Index][5]), Convert.ToInt32(data.Rows[table.SelectedRows[0].Index][6])); Form_Egyesulet form_egyesulet = new Form_Egyesulet(egyesulet); form_egyesulet.Show(); }
btnHozzaadas_Click(object _sender, EventArgs _event) { Form_Egyesulet form = new Form_Egyesulet(); form.Show(); }