Exemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int         index   = dgvAccounts.CurrentRow.Index;
            FormProfile editAcc = new FormProfile(dgvAccounts.SelectedCells[0].Value.ToString());

            editAcc.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormProfile addAcc = new FormProfile();

            addAcc.AddNew();
            addAcc.ShowDialog();
        }
Exemplo n.º 3
0
        private void btnProfile_Click(object sender, EventArgs e)
        {
            FormProfile profile = new FormProfile(Program.userSekarang.user);

            profile.fromMain = true;
            this.Hide();
            profile.Show();
        }