예제 #1
0
        private void btnLink_Click(object sender, EventArgs e)
        {
            FormLink frm = new FormLink(_core, Static.ToLong(DRISSUE["IssueID"]), Static.ToInt(DRISSUE["ASSIGNEEUSER"]), gvwSourceIssue.RowCount);

            frm.ShowDialog();
            if (frm.ResMain != null)
            {
                if (frm.ResMain.ResultNo == 0)
                {
                    LoadIssue();
                }
            }
        }
예제 #2
0
        private void btnLink_Click(object sender, EventArgs e)
        {
            if (gvwBandedIssue.RowCount != 0)
            {
                RowHandle = gvwBandedIssue.FocusedRowHandle;
                DataRow  DR  = gvwBandedIssue.GetFocusedDataRow();
                FormLink frm = new FormLink(_core, Static.ToLong(DR["IssueID"]), Static.ToInt(DR["ASSIGNEEUSER"]), gvwSourceIssue.RowCount);

                frm.ShowDialog();
                if (frm.ResMain != null)
                {
                    if (frm.ResMain.ResultNo == 0)
                    {
                        gvwBandedIssue.UnselectRow(0);
                        gvwBandedIssue.SelectRow(RowHandle);
                        gvwBandedIssue.FocusedRowHandle = RowHandle;
                        FocusRow(DR);
                    }
                }
            }
        }