public void ManageViews(Control owner) { using (var manageViewsForm = new ManageViewsForm(this)) { manageViewsForm.ShowDialog(owner.TopLevelControl); } }
public void EditList() { using (var manageViewsForm = new ManageViewsForm(GetViewContext(false))) { manageViewsForm.ShowDialog(this); } }
public void EditReportList() { var dataSchema = new SkylineDataSchema(DocumentContainer, SkylineDataSchema.GetLocalizedSchemaLocalizer()); var viewContext = new DocumentGridViewContext(dataSchema) { EnablePreview = true }; using (var manageViewsForm = new ManageViewsForm(viewContext)) { manageViewsForm.ShowDialog(this); } }