Beispiel #1
0
 private void btnStock_Click(object sender, EventArgs e)
 {
     if (dgvList.Rows.Count > 0)
     {
         this.Visible = false;
         frmStock stock = new frmStock(Convert.ToInt32(dgvList.SelectedRows[0].Cells[0].Value));
         stock.ShowDialog();
         this.Visible = true;
     }
 }
Beispiel #2
0
 private void btnProfitloss_Click(object sender, EventArgs e)
 {
     frmStock frm = new frmStock();
     frm.ShowDialog();
 }
Beispiel #3
0
    private statsComponent myStatsComponent; // поле для компонента по отрисовке графиков

    public void ShowFrm()                    // показываем форму
    {
        myFormStock.frmStock_Load(myDbProvider);
        myFormStock.ShowDialog();
    }