public DocumentServiceOrgsAddForm(SpDocumentService spDocumentService, bool IsUk) : this() { this.m_spDocumentService = spDocumentService; this.m_IsUk = IsUk; }
private void btnAdd_Click(object sender, System.EventArgs e) { if (this.selectOrganization.SelectedOrganization == Organization.Null) { Messages.ShowMessage("Выберите организацию"); } else { SpDocumentService spDocumentService = new SpDocumentService { AgentId = this.m_organization.Id, Created = System.DateTime.Today }; new DocumentAddChangeForm(spDocumentService).ShowDialog(this); this.bsDocument.set_DataSource(SpDocumentService.FindByAgentId(this.m_organization)); this.bsDocument.set_Position(this.bsDocument.IndexOf(spDocumentService)); } }
public DocumentServiceOrgsAddForm() { this.m_spDocumentService = new SpDocumentService(); this.InitializeComponent(); }
public DocumentServiceOrgsForm(SpDocumentService spDocumentService) : this() { this.m_spDocumentService = spDocumentService; }
public static ObjectList<SpDocumentServiceOrg> FindByDocumentServiceId(SpDocumentService spDocumentService) { return Mappers.SpDocumentServiceOrgMapper.FindByDocumentServiceId(spDocumentService.Id); }
public DocumentAddChangeForm(SpDocumentService spDocumentService) : this() { this.m_SpDocumentService = spDocumentService; }
public DocumentAddChangeForm() { this.m_SpDocumentService = new SpDocumentService(); this.InitializeComponent(); }