private void tsb_policyview_Click(object sender, EventArgs e)
        {
            frm_PolicyParameter frm = new frm_PolicyParameter(ObjectParameter);

            //frm.MdiParent = this.MdiParent;
            frm.ShowDialog(this);
        }
Esempio n. 2
0
 private void grid_result_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         if (e.ColumnIndex == 10)
         {
             frm_PolicyParameter frm = new frm_PolicyParameter(this.grid_result.Rows[e.RowIndex].Tag);
             frm.ShowDialog(this);
         }
     }
 }
Esempio n. 3
0
 private void grid_stocks_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         if (e.ColumnIndex == 3)
         {
             frm_PolicyParameter frm = new frm_PolicyParameter(((GridRowTag)grid_stocks.Rows[e.RowIndex].Tag).parameter);
             frm.ShowDialog();
             //this.propertyGrid1.SelectedObject = ((GridRowTag)grid_stocks.Rows[e.RowIndex].Tag).parameter;
         }
         else if (e.ColumnIndex == 4)
         {
             this.grid_stocks.Rows.RemoveAt(e.RowIndex);
         }
     }
 }