public void Kc(int kc_num1) { kc_num1 = comboBoxMomentDiag_kc.SelectedIndex; Kc en = new Kc(kc_num1); MessageBox.Show(" Kc moment diagram number = " + kc_num1.ToString() + ""); }
private void PictMD_Kc_TSMI_Click_1(object sender, EventArgs e) { Kc i = new Kc(comboBoxMomentDiag_kc.SelectedIndex); i.ShowDialog(); }