Пример #1
0
 private void CreateAccessInfo()
 {
     if (dgvAccessUser.RowCount > 0)
     {
         AccessInfoManager.AccessInfo accessInfo = new AccessInfoManager.AccessInfo();
         accessInfo.user = m_user;
         AccessDialog dlg = new AccessDialog(AccessInfoManager.DIALOG_MODE.SAVE, accessInfo);
         UpdateDialogResult(dlg.ShowDialog());
     }
     else
     {
         MessageBox.Show("유저 정보가 없습니다.", "알림", MessageBoxButtons.OK);
     }
 }
Пример #2
0
 private void UpdateAccessInfo()
 {
     if (dgvAccessInfo.RowCount > 0)
     {
         AccessInfoManager.AccessInfo accessInfo = new AccessInfoManager.AccessInfo();
         accessInfo.seq  = m_accessSeq;
         accessInfo.user = m_user;
         AccessDialog dlg = new AccessDialog(AccessInfoManager.DIALOG_MODE.MODIFY, accessInfo);
         UpdateDialogResult(dlg.ShowDialog());
     }
     else
     {
         MessageBox.Show("출입 정보가 없습니다.", "알림", MessageBoxButtons.OK);
     }
 }
Пример #3
0
 public OrderInfoDialog(AccessDialog parents)
 {
     InitializeComponent();
     this.parents = parents;
     //this.order = order;
 }