public AgrRequest(OMTSRequestType t, string name, uint count, string a = "") { Type = t; Name = name; TotalCount = count; Article = a; }
// Редактируем недокомплекты void EditRequest(ProjectPropertyType type, OMTSRequestType rType, Project project) { var win = new RequestWindow(rType, project) { Owner = Window.GetWindow(this) }; if (win.ShowDialog() != true) { return; } }
// Редактируем недокомплекты void EditRequest(ProjectPropertyType type, OMTSRequestType rType, Project project) { var win = new RequestWindow(rType, project) { Owner = Window.GetWindow(this) }; if (win.ShowDialog() != true) { return; } ProjectManager.ChangeProjectPropety(project.ProjectID, type, win.Requests); }
public RequestWindow(OMTSRequestType t, Project p, bool isCanComplete = false) { InitializeComponent(); type = t; listRequest.Tag = isCanComplete; currentProject = p; expProject.IsExpanded = isExpanderProjectOpen; InitData(p); DataContext = this; }
public OMTSRequest(OMTSRequestType t, string name, uint count) { type = t; Name = name; TotalCount = count; }
public AgrRequest(OMTSRequestType t, string name) { Type = t; Name = name; }