Beispiel #1
0
        public static void showError(string text)
        {
            Error1 error1 = new Error1();

            error1.setErrorText(text);
            int num = (int)error1.ShowDialog();
        }
        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, ""));
 }