예제 #1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     id = -1;
     var upForm = new frmData(id);
     upForm.ShowDialog();
     GetAllDbItems.RefreshGrid(grdData);
 }
예제 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            var upForm = new frmData(id);

            upForm.ShowDialog();
            GetAllDbItems.RefreshGrid(grdData);
        }
예제 #3
0
 private void addPasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     contextMenuStrip1.Enabled = false;
     var upForm = new frmData(-1);
     upForm.ShowDialog();
     DisablePasswordItems();
     contextMenuStrip1.Enabled = true;
 }
예제 #4
0
        private void addPasswordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            contextMenuStrip1.Enabled = false;
            var upForm = new frmData(-1);

            upForm.ShowDialog();
            DisablePasswordItems();
            contextMenuStrip1.Enabled = true;
        }