Exemplo n.º 1
0
 public AppController()
 {
     Form        = new AppForm();
     CanDelete   = true;
     TitlePlural = "Apps";
     SearchForms.Add(new AppSearchForm(Url));
 }
 public ParadoxTableController()
 {
     CanCreate   = false;
     Form        = new ParadoxTableForm();
     TitlePlural = "Paradox Table";
     SearchForms.Add(new ParadoxTableSearchForm(Url));
 }
Exemplo n.º 3
0
 public PrintLogController()
 {
     CanCreate   = false;
     CanDelete   = true;
     TitlePlural = "Print";
     Form        = new PrintLogForm();
     SearchForms.Add(new PrintLogSearchForm(Url));
 }
Exemplo n.º 4
0
 public ReportUserActivityLogController()
 {
     CanDelete   = false;
     CanCreate   = false;
     ForeignKey  = "ReportId";
     TitlePlural = "Reports";
     SearchForms.Add(new ReportUserActivityLogSearchForm(Url));
 }
Exemplo n.º 5
0
 public FileController()
 {
     CanCreate   = false;
     CanDelete   = true;
     Form        = new FileForm();
     TitlePlural = "Files";
     SearchForms.Add(new FileSearchForm(Url));
 }
Exemplo n.º 6
0
 public PrinterController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new PrinterForm();
     TitlePlural = "Printers";
     SearchForms.Add(new PrinterSearchForm(Url));
 }
Exemplo n.º 7
0
 public ContactController()
 {
     CanCreate = true;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new ContactForm();
     ReturnTo    = new ReturnTo(this, "Index", null, null, new string[] { "Create", "Edit" });
     TitlePlural = "Contacts";
     SearchForms.Add(new ContactSearchForm(Url));
 }
 public CalendarController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new CalendarForm();
     ReturnTo    = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" });
     TitlePlural = "Calendar";
     SearchForms.Add(new CalendarSearchForm(Url));
 }
Exemplo n.º 9
0
 public ReportUserController()
 {
     CanDelete   = true;
     CanCreate   = false;
     ForeignKey  = "ReportId";
     Form        = new ReportUserForm();
     ReturnTo    = new ReturnTo(new ReportController(), "Edit", "ReportId", "Name", new string[] { "Create", "Edit", "Delete" });
     TitlePlural = "Reports";
     SearchForms.Add(new ReportUserSearchForm(Url));
 }
Exemplo n.º 10
0
 public AppFieldController()
 {
     DB          = new AppFieldModelContext <AppFieldModel>();
     ForeignKey  = "AppId";
     Form        = new AppFieldForm();
     CanDelete   = true;
     ReturnTo    = new ReturnTo(new AppController(), "Edit", "AppId", "Name", new string[] { "Create", "Edit", "Delete" });
     TitlePlural = "App Fields";
     SearchForms.Add(new AppFieldSearchForm(Url));
 }
Exemplo n.º 11
0
 public FileDirectoryController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new FileDirectoryForm();
     ReturnTo    = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" });
     TitlePlural = "File Directory";
     SearchForms.Add(new FileDirectorySearchForm(Url));
 }
Exemplo n.º 12
0
        //private AppModelContext db = new AppModelContext();
        public MenuController()
        {
            Form        = new MenuForm();
            CanDelete   = true;
            TitlePlural = "Menus";
            ForeignKey  = "ParentId";
            ReturnTo    = new ReturnTo(this, "Edit", "ParentId", "Label", new string[] { "Delete" });


            SearchForms.Add(new MenuSearchForm(Url));
        }
Exemplo n.º 13
0
 public RoleController()
 {
     Form = new RoleForm();
     SearchForms.Add(new RoleSearchForm(Url));
     TitlePlural = "Roles";
 }
Exemplo n.º 14
0
 public ReportController()
 {
     Form        = new ReportForm();
     TitlePlural = "Reports";
     SearchForms.Add(new ReportSearchForm(Url));
 }
Exemplo n.º 15
0
 public AuditController()
 {
     TitlePlural = "Audits";
     SearchForms.Add(new AuditSearchForm(Url));
 }
 public FieldOptionController()
 {
     Form        = new FieldOptionForm();
     TitlePlural = "Field Options";
     SearchForms.Add(new FieldOptionSearchForm(Url));
 }