Ejemplo n.º 1
0
        //static void winApplication_CreateCustomTemplate(object sender, CreateCustomTemplateEventArgs e)
        //{
        //    if (e.Context == TemplateContext.ApplicationWindow)
        //    {
        //        e.Template = new IntecoAG.ERM.Win.Templates.MainForm();
        //    }
        //    if (e.Context == TemplateContext.View)
        //    {
        //        e.Template = new IntecoAG.ERM.Module.DetailViewForm1();
        //    }
        //}

        static void AuditTrailService_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
        {
            e.AuditTrailSettings.RemoveType(typeof(FM.AVT.fmCAVTBookBuhRecord));
            e.AuditTrailSettings.RemoveType(typeof(FM.FinPlan.FmFinPlanDocLine));
            e.AuditTrailSettings.RemoveType(typeof(FM.FinPlan.FmFinPlanDocTime));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.Основание));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.ОснованиеДокумент));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.ДокИмпортОснований.СтрокаОснов));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.КнигаСтрока));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.КнигаДокументСтрока));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.Операция));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.СвУчСделки));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.ДокПдтвОпл));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.ДокПдтвУпл));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.КнПродСтрБаз));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.КнПродСтр));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.КнПокСтрБаз));
            e.AuditTrailSettings.RemoveType(typeof(FM.Tax.RuVat.RU_V5_04.КнПокСтр));
            //e.AuditTrailSettings.AddType(typeof(FM.Order.fmCOrderExt), "Status");
            //e.AuditTrailSettings.AddType(typeof(FM.Order.fmCOrderManageDoc), "Status");
        }
Ejemplo n.º 2
0
 static void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
 {
     e.AuditTrailSettings.Clear();
     e.AuditTrailSettings.AddType(typeof(AccountTransaction));
     e.AuditTrailSettings.AddType(typeof(Branch));
     e.AuditTrailSettings.AddType(typeof(Classroom));
     e.AuditTrailSettings.AddType(typeof(Department));
     e.AuditTrailSettings.AddType(typeof(Lesson));
     e.AuditTrailSettings.AddType(typeof(Office));
     e.AuditTrailSettings.AddType(typeof(RegisterDetail));
     e.AuditTrailSettings.AddType(typeof(RegisterTime));
     e.AuditTrailSettings.AddType(typeof(Semester));
     e.AuditTrailSettings.AddType(typeof(Student));
     e.AuditTrailSettings.AddType(typeof(Person));
     e.AuditTrailSettings.AddType(typeof(User));
     e.AuditTrailSettings.AddType(typeof(StudentAccumulation));
     e.AuditTrailSettings.AddType(typeof(StudentClass));
     e.AuditTrailSettings.AddType(typeof(StudentResult));
     e.AuditTrailSettings.AddType(typeof(Subject));
     e.AuditTrailSettings.AddType(typeof(SubjectRelations));
     e.AuditTrailSettings.AddType(typeof(Teacher));
 }
Ejemplo n.º 3
0
        static void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
        {
            e.AuditTrailSettings.Clear();

            e.AuditTrailSettings.AddType(typeof(AccountTransaction));
            e.AuditTrailSettings.AddType(typeof(Branch));
            e.AuditTrailSettings.AddType(typeof(Classroom));
            e.AuditTrailSettings.AddType(typeof(Department));
            e.AuditTrailSettings.AddType(typeof(Lesson));
            e.AuditTrailSettings.AddType(typeof(Office));
            e.AuditTrailSettings.AddType(typeof(RegisterDetail));
            e.AuditTrailSettings.AddType(typeof(RegisterTime));
            e.AuditTrailSettings.AddType(typeof(Semester));
            e.AuditTrailSettings.AddType(typeof(Student));
            e.AuditTrailSettings.AddType(typeof(Person));
            e.AuditTrailSettings.AddType(typeof(User));
            e.AuditTrailSettings.AddType(typeof(StudentAccumulation));
            e.AuditTrailSettings.AddType(typeof(StudentClass));
            e.AuditTrailSettings.AddType(typeof(StudentResult));
            e.AuditTrailSettings.AddType(typeof(Subject));
            e.AuditTrailSettings.AddType(typeof(SubjectRelations));
            e.AuditTrailSettings.AddType(typeof(Teacher));
        }
Ejemplo n.º 4
0
 private void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
 {
     e.AuditTrailSettings.Clear();
     e.AuditTrailSettings.AddType(typeof(Contact), true);
 }
Ejemplo n.º 5
0
 private void Instance_CustomizeAuditTrailSettings(Object sender, CustomizeAuditTrailSettingsEventArgs e) {
     e.AuditTrailSettings.Clear();
     e.AuditTrailSettings.AddType(typeof(Contact), true);
 }
Ejemplo n.º 6
0
 static void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs  e)
 {
     var currentSettings = e.AuditTrailSettings;
 }
Ejemplo n.º 7
0
 private void AuditTrailServiceInstance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
 {
     e.AuditTrailSettings.Clear();
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Audit.SimplePropertiesAuditedObject), true);
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Audit.CollectionPropertiesAuditedObject), true);
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Audit.AuditSettingsObject), new string[] { "Name", "AuditedProperty" });
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Audit.ObjectAuditingModesObject), true);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Removes properties with the [ExcludeFromAuditTrail] attribute from the audit trail.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void Instance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
 {
     ExcludeFromAuditTrailService.Exclude(e.AuditTrailSettings);
 }
Ejemplo n.º 9
0
 private void AuditTrailServiceInstance_CustomizeAuditTrailSettings(object sender, CustomizeAuditTrailSettingsEventArgs e)
 {
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Win.Audit.FullyAuditedBatchCreationObject), true);
     e.AuditTrailSettings.AddType(typeof(FeatureCenter.Module.Win.Audit.PartiallyAuditedBatchCreationObject), true);
 }