private void btnSend_Click(object sender, EventArgs e) { cModeSet modeSet; frmSet.DataFileToClass(cMain.AppPath + "\\ID\\" + cbbId.Text + ".txt", out modeSet, true); frmSend f = new frmSend(modeSet); f.ShowDialog(); }
private void btnSend_Click(object sender, EventArgs e) { cModeSet modeSet = new cModeSet(); modeSet.Load(cbbId.Text); frmSend f = new frmSend(modeSet); f.ShowDialog(); }