private void fund_ValueChanged(object sender, EventArgs e) { AverValOfPrinOccupFunds fun = new AverValOfPrinOccupFunds(); fun.Show(); fund.Value = fun.total.Value; }
private void funds_Click(object sender, EventArgs e) { AverValOfPrinOccupFunds fun = new AverValOfPrinOccupFunds(); fun.Show(); funds.Value = fun.total.Value; }
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { if (comboBox2.SelectedIndex == 0) { BalanceForme balance = new BalanceForme(); balance.ShowDialog(); } if (comboBox2.SelectedIndex == 1) { SizeOfAssetsForm size = new SizeOfAssetsForm(); size.ShowDialog(); } if (comboBox2.SelectedIndex == 2) { AverValOfPrinOccupFunds aver = new AverValOfPrinOccupFunds(); aver.ShowDialog(); } if (comboBox2.SelectedIndex == 3) { AverValOfWorkCap work = new AverValOfWorkCap(); work.ShowDialog(); } }