private void Modify_Click(object sender, EventArgs e)
 {
     int row = celContext.Position.Row;
     AdminCommand adminCommand = this.adminSetting.adminCommandList[row - 1];
     Admin admin = new Admin();
     admin.AdminNo = adminCommand.AdminNo;
     admin.AdminGroupNo = adminCommand.AdminGroupNo;
     admin.Name = adminCommand.Name;
     admin.Id = adminCommand.Id;
     admin.Password = adminCommand.Password;
     AdminRegistration adminReg = new AdminRegistration("관리자 수정", Constants.MODIFY, admin);
     if (adminReg.ShowDialog() == DialogResult.OK)
     {
         this.adminSetting.adminDao.ModifyAdmin(admin);
     };
 }
 private void CreateAdmin()
 {
     AdminRegistration adminForm = new AdminRegistration("관리자 등록", Constants.CREATE, null);
     adminForm.StartPosition = FormStartPosition.CenterParent;
     if (adminForm.ShowDialog() == DialogResult.OK)
     {
         Admin addAdmin = adminForm.Admin;
         addAdmin.AdminRegDate = CelotUtility.GetCurrentTimeString();
         this.adminDao.CreateAdmin(addAdmin);
     }
 }