public def_view(Type t, string title, string des, type_view tp = type_view.none , bool admin_view = false, bool system_view = false, bool sub_app = false, string image_name = "") { this.type = t; this.title_view = title; this.des_view = des; this.tipo = tp; this.admin_view = admin_view; this.system_view = system_view; this.sub_view = sub_app; this.image_name = image_name; if (!string.IsNullOrEmpty(image_name) && !load_images(image_name)) { load_images("no-photos"); this.image_name = "no-photos"; } }
public def_view(Type t, string title, string des, type_view tp = type_view.none , bool admin_app = false, bool system_app = false, bool sub_app = false) { this.type = t; this.title_view = title; this.des_view = des; this.tipo = tp; this.admin_view = admin_app; this.system_view = system_app; this.sub_view = sub_app; }
public base_view(viste_nomi name, string title, string des, TabPage tab, frm_main main, type_view tp = type_view.none , bool admin_app = false, bool system_app = false, bool sub_app = false) { this.name_view = name; this.title_view = title; this.des_view = des; this.tab = tab; this.main = main; this.tipo = tp; this.is_empty = true; this.admin_view = admin_app; this.system_view = system_app; this.sub_view = sub_app; this.controls = new Dictionary <string, Control>(); }