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

            error1.setErrorText(text);
            int num = (int)error1.ShowDialog();
        }
예제 #2
0
        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));
        }
예제 #3
0
 private void bSubmit_Click(object sender, EventArgs e)
 {
     this.panel2.Focus();
     Error1.showError(SettingsProvider.Settings.LocalSetting.addNewInstrument(this.tbInstrumentId.Text, this.tbName.Text, "", 1, ""));
 }