private void bSubmit_Click(object sender, EventArgs e) { this.panel2.Focus(); string str = this.tbInstrumentId.Text + "%" + this.tbName.Text; Error1.showError(SettingsProvider.Settings.LocalSetting.addNewInstrument(str, str, this.tbSecType.Text, 5, this.tbExchange.Text)); }
private void bSubmit_Click(object sender, EventArgs e) { this.panel2.Focus(); Error1.showError(SettingsProvider.Settings.LocalSetting.addNewInstrument(this.tbInstrumentId.Text, this.tbName.Text, "", 1, "")); }