Beispiel #1
0
 private void changelistStatBtn_Click(object sender, EventArgs e)
 {
     if (validateBeforeAdd())
     {
         frmChangeList cng = new frmChangeList(ChangeListID, fromDateDatetime.Value, toDateDatetime.Value);
         cng.MdiParent = this.MdiParent;
         cng.Show();
         this.Close();
     }
 }
Beispiel #2
0
        private void LoadChangeHistry(ChangeList changeList)
        {
            using (ChangeList cLIst = new ChangeList(true))
            {
                //LoadChangeListHistry(changeListID,cLIst.SelectChangeList(changeListID));

                frmChangeList cng = new frmChangeList();
                // cng.MdiParent = this.MdiParent;
                cng.LoadForm(changeList, cLIst.SelectChangeList(changeList.ID));
                this.Close();
            }
        }