Beispiel #1
0
        public void CallIssueTrack(object[] param)
        {
            _core = (Core.Core)param[0];
            long    projectid = Convert.ToInt64(param[1]);
            DataRow dr        = (DataRow)param[2];

            InfoPos.Issue.FormIssueTracking frm = new InfoPos.Issue.FormIssueTracking(_core, projectid, dr);
            frm.MdiParent = _core.MainForm;
            frm.Show();
        }
Beispiel #2
0
 private void simpleButton2_Click(object sender, EventArgs e)
 {
     if (ucIssueProjectList.DataSource != null)
     {
         DataRow   DR = ucIssueProjectList.gridView1.GetFocusedDataRow();
         DataView  DV = (DataView)ucIssueProjectList.gridView1.DataSource;
         DataTable DT = DV.ToTable();
         if (DR != null && DV != null)
         {
             ProjectID = Static.ToLong(DR["ProjectID"]);
             InfoPos.Issue.FormIssueTracking iss = new InfoPos.Issue.FormIssueTracking(_core, ProjectID, DR);
             iss.ShowDialog();
         }
     }
 }