Ejemplo n.º 1
0
        private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, dgvListData.SelectedRows[0].Index + 1, ztid);

            frm.ShowDialog();
            this.Cursor = Cursors.Default;
        }
Ejemplo n.º 2
0
        private void dgvListData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }
            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, e.RowIndex + 1, ztid);

            frm.ShowDialog();
        }
Ejemplo n.º 3
0
        private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            DataGridViewCell cell   = (DataGridViewCell)dgvListData.SelectedRows[0].Cells["Idx"];
            string           strPID = cell.Value.ToString();

            //frmPatDetails frm = new frmPatDetails(strPID,strDbType);
            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, dgvListData.SelectedRows[0].Index + 1, strZtID);

            //frm.MdiParent = this;
            frm.ShowDialog();

            this.Cursor = Cursors.Default;
        }
Ejemplo n.º 4
0
        private void dgvListData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }

            //DataGridViewCell cell = (DataGridViewCell)dgvListData.Rows[e.RowIndex].Cells["Idx"];
            //string strPID = cell.Value.ToString();
            //frmPatDetails frm = new frmPatDetails(strPID,strDbType);

            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, e.RowIndex + 1, strZtID);

            //frm.MdiParent = this;
            frm.ShowDialog();
        }
Ejemplo n.º 5
0
        private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            DataGridViewCell cell = (DataGridViewCell)dgvListData.SelectedRows[0].Cells["Idx"];
            string strPID = cell.Value.ToString();

            //frmPatDetails frm = new frmPatDetails(strPID,strDbType);
            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, dgvListData.SelectedRows[0].Index + 1, strZtID);
            //frm.MdiParent = this;
            frm.ShowDialog();

            this.Cursor = Cursors.Default;
        }
Ejemplo n.º 6
0
        private void dgvListData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1) return;

            //DataGridViewCell cell = (DataGridViewCell)dgvListData.Rows[e.RowIndex].Cells["Idx"];
            //string strPID = cell.Value.ToString();
            //frmPatDetails frm = new frmPatDetails(strPID,strDbType);

            frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, e.RowIndex + 1, strZtID);
            //frm.MdiParent = this;
            frm.ShowDialog();
        }
Ejemplo n.º 7
0
 private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, dgvListData.SelectedRows[0].Index + 1, ztid);
     frm.ShowDialog();
     this.Cursor = Cursors.Default;
 }
Ejemplo n.º 8
0
 private void dgvListData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex == -1) return;
     frmPatDetails frm = new frmPatDetails(strDbType, (DataTable)dgvListData.DataSource, e.RowIndex + 1, ztid);
     frm.ShowDialog();
 }