private void capital_Click(object sender, EventArgs e) { AverValOfWorkCap cap = new AverValOfWorkCap(); cap.Show(); funds.Value = cap.total.Value; }
private void means_Click(object sender, EventArgs e) { AverValOfWorkCap cap = new AverValOfWorkCap(); cap.Show(); means.Value = cap.total.Value; // assets.Value = inne.TotalAnother; }
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(); } }