Example #1
0
        private void iconButton4_Click(object sender, EventArgs e)
        {
            Color        color    = System.Drawing.ColorTranslator.FromHtml("#f9f6f1");
            FormCashFlow cashFlow = new FormCashFlow();

            //this.WindowState = FormWindowState.Maximized;
            this.btnCashFlow.ForeColor = Color.Gray;
            this.btnHome.ForeColor     = color;
            this.btnOil.ForeColor      = color;
            this.btnGas.ForeColor      = color;
            // cashFlow.Show();
            OpenChildForm(cashFlow);
        }
        private void FormCashFlowChart_Load(object sender, EventArgs e)
        {
            CashFlow cash = new CashFlow();

            FormCashFlow formCash = new FormCashFlow();

            label1.Text = w;


            //formCash.str = textBox1.Text.ToString();


            // FormCashFlow formCash = new FormCashFlow();
            //this.dataGridView1.DataSource = formCash.dat

            // Form2.DataGridView2.datasource = dt;
        }