Exemple #1
0
        private void btnComment_Click(object sender, EventArgs e)
        {
            FormTxn txnForm = new FormTxn(_core, IssueID, Static.ToInt(DRISSUE["Status"]), Static.ToInt(DRISSUE["ASSIGNEEUSER"]), Static.ToInt(DRISSUE["TRACKID"]));

            txnForm.ShowDialog();
            if (txnForm.ResMain != null)
            {
                if (txnForm.ResMain.ResultNo == 0)
                {
                    LoadIssue();
                }
            }
        }
Exemple #2
0
 private void btnComment_Click(object sender, EventArgs e)
 {
     if (gvwBandedIssue.RowCount != 0)
     {
         RowHandle = gvwBandedIssue.FocusedRowHandle;
         DataRow DR      = gvwBandedIssue.GetFocusedDataRow();
         FormTxn txnForm = new FormTxn(_core, IssueID, Static.ToInt(DR["Status"]), Static.ToInt(DR["ASSIGNEEUSER"]), Static.ToInt(DR["TRACKID"]));
         txnForm.ShowDialog();
         if (txnForm.ResMain != null)
         {
             if (txnForm.ResMain.ResultNo == 0)
             {
                 RefreshDataIssueList();
                 //gvwBandedIssue.UnselectRow(0);
                 //gvwBandedIssue.SelectRow(RowHandle);
                 //gvwBandedIssue.FocusedRowHandle = RowHandle;
                 //FocusRow(DR);
             }
         }
     }
 }