예제 #1
0
파일: Frmtjwh.cs 프로젝트: Wooyme/HIS-1
        private void butnew_Click(object sender, EventArgs e)
        {
            Frmtjwhmx frm   = new Frmtjwhmx(_menuTag, _chineseName, _mdiParent);
            Point     point = new Point(160, 75);

            frm.Location  = point;
            frm.MdiParent = _mdiParent;
            frm.Show();
            frm.FillDj(Guid.Empty);
        }
예제 #2
0
파일: Frmtjwh.cs 프로젝트: Wooyme/HIS-1
        private void dg_wh_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataTable tb = (DataTable)dg_wh.DataSource;

            if (tb.Rows.Count == 0)
            {
                return;
            }
            Frmtjwhmx f     = new Frmtjwhmx(_menuTag, _chineseName, _mdiParent);
            Point     point = new Point(160, 75);

            f.Location = point;
            f.Show();
            f.FillDj(new Guid(tb.Rows[e.RowIndex]["id"].ToString()));
        }