예제 #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();
        }
예제 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormProfile addAcc = new FormProfile();

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

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