Ejemplo n.º 1
0
 private void dgvStockList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int i = e.RowIndex;
     if (i == -1)
         return;
     FrmSingleStock singleStockView = new FrmSingleStock(_stockMgr,(string)dgvStockList.Rows[i].Cells["colCode"].Value);
     singleStockView.MdiParent = this.MdiParent;
     singleStockView.Show();
 }
Ejemplo n.º 2
0
 private void 個股查詢ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FrmSingleStock frmSingleStock = new FrmSingleStock(_stockMgr);
     frmSingleStock.MdiParent = this;
     frmSingleStock.Show();
 }