Exemple #1
0
        private void btnKullanıcıGuncelle_Click(object sender, EventArgs e)
        {
            if (dataGridUser.SelectedRows.Count == 1)
            {
                int updatedUserId = Convert.ToInt32(this.dataGridUser.SelectedRows[0].Cells["TabloID"].Value.ToString());

                SubPages.UserAddedForm uaf = new SubPages.UserAddedForm(true);
                uaf.ShowDialog();
            }
        }
Exemple #2
0
 private void btnUserInsert_Click(object sender, EventArgs e)
 {
     SubPages.UserAddedForm uaf = new SubPages.UserAddedForm();
     uaf.UserEvent += Uaf_UserEvent;
     uaf.ShowDialog();
 }