private void BtnEdit_Click(object sender, EventArgs e) { var selectedItem = (int)dataGridSubscribers.SelectedRows[0].Cells[0].Value; if (radioBtnSubscribers.Checked) { AboneKayit formAbone = new AboneKayit(selectedItem); formAbone.Show(); } else if (radioBtnSubscriptions.Checked) { AddSubscription addSubscription = new AddSubscription(); addSubscription.Show(); } }
private void BtnAddSubscription_Click(object sender, EventArgs e) { AddSubscription addSubscription = new AddSubscription(); addSubscription.Show(); }