/// <summary> /// On 'Currency' combobox selected valuechanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cmbCurrency_SelectedValueChanged(object sender, EventArgs e) { try { CurrencySP SpCurrency = new CurrencySP(); String strSymbol = SpCurrency.GetDefaultCurrencySymbol(); pnlExchange.Visible = true; lblSymbol.Text = "1" + cmbCurrency.Text; lblRate.Text = txtExchangeRate.Text + strSymbol; } catch (Exception ex) { formMDI.infoError.ErrorString = "ER40:" + ex.Message; } }
/// <summary> /// On 'Currency' combobox selected valuechanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cmbCurrency_SelectedValueChanged(object sender, EventArgs e) { try { CurrencySP SpCurrency = new CurrencySP(); String strSymbol = SpCurrency.GetDefaultCurrencySymbol(); pnlExchange.Visible = true; lblSymbol.Text = "1" + cmbCurrency.Text; lblRate.Text = txtExchangeRate.Text + strSymbol; } catch (Exception) { throw; } }
/// <summary> /// On 'ExchangeRate' textbox textchanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void txtExchangeRate_TextChanged(object sender, EventArgs e) { try { CurrencySP SpCurrency = new CurrencySP(); String strSymbol = SpCurrency.GetDefaultCurrencySymbol(); pnlExchange.Visible = true; lblSymbol.Text = "1" + cmbCurrency.Text; lblRate.Text = txtExchangeRate.Text + strSymbol /*"Rs"*/; } catch (Exception ex) { MessageBox.Show("ER23:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Currency' combobox selected valuechanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cmbCurrency_SelectedValueChanged(object sender, EventArgs e) { try { CurrencySP SpCurrency = new CurrencySP(); String strSymbol = SpCurrency.GetDefaultCurrencySymbol(); pnlExchange.Visible = true; lblSymbol.Text = "1" + cmbCurrency.Text; lblRate.Text = txtExchangeRate.Text + strSymbol; } catch (Exception) { throw; } }
/// <summary> /// On 'ExchangeRate' textbox textchanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void txtExchangeRate_TextChanged(object sender, EventArgs e) { try { CurrencySP SpCurrency = new CurrencySP(); String strSymbol = SpCurrency.GetDefaultCurrencySymbol(); pnlExchange.Visible = true; lblSymbol.Text = "1" + cmbCurrency.Text; lblRate.Text = txtExchangeRate.Text + strSymbol/*"Rs"*/; } catch (Exception ex) { MessageBox.Show("ER23:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }