Beispiel #1
0
        /// <summary>
        /// 出入场记录对比
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dbGrid_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
        {
            DataRow          drv    = this.dbGrid.GetDataRow(e.RowHandle);
            FrmOut_InParkPic frmOut = new FrmOut_InParkPic();
            string           img    = this.dbGrid.GetDataRow(e.RowHandle)["入场图片"].ToString();

            BindManager.SetControlValue(drv, frmOut, "fld", null);
            frmOut.ShowDialog();
        }
Beispiel #2
0
        private void dbGrid_DoubleClick(object sender, EventArgs e)
        {
            if (this.dbGrid.RowCount == 0)
            {
                return;
            }
            DataRow          drv    = this.dbGrid.GetDataRow(this.dbGrid.FocusedRowHandle);
            FrmOut_InParkPic frmOut = new FrmOut_InParkPic();
            string           img    = this.dbGrid.GetDataRow(this.dbGrid.FocusedRowHandle)["入场图片"].ToString();

            BindManager.SetControlValue(drv, frmOut, "fld", null);
            frmOut.ShowDialog();
        }
 /// <summary>
 /// 出入场记录对比
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void dbGrid_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
 {
     DataRow drv = this.dbGrid.GetDataRow(e.RowHandle);
     FrmOut_InParkPic frmOut = new FrmOut_InParkPic();
     string img = this.dbGrid.GetDataRow(e.RowHandle)["入场图片"].ToString();
     BindManager.SetControlValue(drv, frmOut, "fld", null);
     frmOut.ShowDialog();
 }
 private void dbGrid_DoubleClick(object sender, EventArgs e)
 {
     if (this.dbGrid.RowCount == 0)
         return;
     DataRow drv = this.dbGrid.GetDataRow(this.dbGrid.FocusedRowHandle);
     FrmOut_InParkPic frmOut = new FrmOut_InParkPic();
     string img = this.dbGrid.GetDataRow(this.dbGrid.FocusedRowHandle)["入场图片"].ToString();
     BindManager.SetControlValue(drv, frmOut, "fld", null);
     frmOut.ShowDialog();
 }