private void Continue() { if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtCode.Focus(); } else { txtCode.Text = ""; txtCode.Focus(); } }
private void Continue() { txtName.Text = txtAliasName.Text = txtAreaCode.Text = txtCapital.Text = txtNamePY.Text = ""; if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtName.Focus(); } else { txtCode.Text = ""; txtCode.Focus(); } }
private void Continue() { txtName.Text = ""; spinLower.EditValue = spinUpper.EditValue = null; if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtName.Focus(); } else { txtCode.Text = ""; txtCode.Focus(); } }
/// <summary> /// 保存 /// </summary> private void Continue() { if (checkBox1.Checked) { textEdit1.Text = AutoIncrement.NextCode(textEdit1.Text.Trim()); if (textEdit1.Text == "A") { textEdit1.Text = Convert.ToString(10); } textEdit1.Focus(); } else { textEdit1.Text = ""; textEdit1.Focus(); } }
private void Continue() { txtName.Text = ""; txtBrand.Text = ""; spinEditPrice.Value = 0; spinSortOrder.Value = spinSortOrder.Value + 1; if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtName.Focus(); } else { txtCode.Text = ""; txtCode.Focus(); } }
private void Continue() { txtName.Text = ""; txtNameS.Text = ""; txtContact.Text = ""; txtPhone.Text = ""; txtAddress.Text = ""; txtPostcode.Text = ""; if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtName.Focus(); } else { txtCode.Text = ""; txtCode.Focus(); } }
void Continue() { txtName.Text = ""; if (checkAutoIncrement.Checked) { txtCode.Text = AutoIncrement.NextCode(txtCode.Text.Trim()); txtName.Focus(); } else { txtRemark.Text = txtCode.Text = ""; txtCode.Focus(); } comboIsActive.SelectedIndex = 0; List <RoleEntity> roles = bindingSource1.DataSource as List <RoleEntity>; roles.ForEach(r => r.Checked = false); gridControl1.RefreshDataSource(); }