示例#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()));
        }