/// <summary> /// Enterkey and backspace navigation of cbxSalesRate /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cbxSalesRate_KeyDown(object sender, KeyEventArgs e) { try { if (e.KeyCode == Keys.Enter) { CbxStandardRate.Focus(); } if (e.KeyCode == Keys.Back) { cbxMrp.Focus(); } } catch (Exception ex) { MessageBox.Show(" RPL28:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Enterkey and backspace navigation of cbxSalesRate /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cbxSalesRate_KeyDown(object sender, KeyEventArgs e) { try { if (e.KeyCode == Keys.Enter) { CbxStandardRate.Focus(); } if (e.KeyCode == Keys.Back) { cbxMrp.Focus(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "RPL29:" + ex.Message; } }