private void RegistrySaveChanges() { Validate(); RegistryBindingSource.EndEdit(); RegistryTableAdapter.Update(polyDataSet); RegistryViewTableAdapter.Fill(polyDataSet.СписокРегистратуры); }
private void RegistryCancelButton_Click(object sender, EventArgs e) { EnableDisplayElements(true); PatientGroupBox.Enabled = true; RegistryBindingSource.CancelEdit(); ChangeDisplayElements(RegistryViewDataGridView, RegistryAddButton, RegistryPanel, true); }
private void RegistryAddButton_Click(object sender, EventArgs e) { EnableDisplayElements(false); RegistryBindingSource.AddNew(); PatientGroupBox.Enabled = false; код_пациентаComboBox.SelectedValue = PatientDataGridView.CurrentRow.Cells[0].Value; дата_и_время_приёмаDateTimePicker.Value = DateTime.Now; ChangeDisplayElements(RegistryViewDataGridView, RegistryAddButton, RegistryPanel, false); }
/// <summary>Construct the service.</summary> /// <param name="name">service name</param> /// <param name="bindingSource"> /// source of binding information. /// If null: use this instance /// </param> public CuratorService(string name, RegistryBindingSource bindingSource) : base(name) { if (bindingSource != null) { this.bindingSource = bindingSource; } else { this.bindingSource = this; } }
/// <summary> /// construct an instance of the service, using the /// specified binding source to bond to ZK /// </summary> /// <param name="name">service name</param> /// <param name="bindingSource">provider of ZK binding information</param> public RegistryAdminService(string name, RegistryBindingSource bindingSource) : base(name, bindingSource) { executor = Executors.NewCachedThreadPool(new _ThreadFactory_113()); }
public RegistryOperationsClient(string name, RegistryBindingSource bindingSource) : base(name, bindingSource) { }
public RegistryOperationsService(string name, RegistryBindingSource bindingSource ) : base(name, bindingSource) { }