private void buttonCreateNewBroadcast_Click(object sender, EventArgs e) { using (Form CreatingNew = new Broadcast_Connection_Settings(this)) { CreatingNew.ShowDialog(); } }
private void btnEditBroadcast_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in dgvBroadcastList.SelectedRows) { Broadcast selectedBroadcast = row.DataBoundItem as Broadcast; if (selectedBroadcast != null) { Form EditSelected = new Broadcast_Connection_Settings(this, selectedBroadcast); EditSelected.ShowDialog(); } } }