Пример #1
0
        //public static readonly Guid ModuleId = new Guid("6C7EE638-6ACE-4F9D-A1D5-63DB79A5ED61");
        //public Guid GlobalId
        //{
        //    get { return ModuleId; }
        //}


        public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
        {
            ResourceDictionary rd = new ResourceDictionary();

            rd.Source = new Uri(@"pack://application:,,,/BodyArchitect.Client.Module.Instructor;component/Themes/Generic.xaml");
            Application.Current.Resources.MergedDictionaries.Add(rd);
        }
Пример #2
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(BlogEntryDTO), BlogEntryStrings.ResourceManager);
     controlManager.RegisterControl <BlogEntryDTO>(typeof(usrBlog));
     ApplicationSettings.Register(BlogSettings.Default);
 }
Пример #3
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(GPSTrackerEntryDTO), GPSStrings.ResourceManager);
 }
Пример #4
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(StrengthTrainingEntryDTO), StrengthTrainingEntryStrings.ResourceManager);
     //controlManager.RegisterControl<StrengthTrainingEntryDTO>(typeof(usrStrengthTraining));
     ApplicationSettings.Register(StrengthTraining.Default);
 }
Пример #5
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(A6WEntryDTO), A6WEntryStrings.ResourceManager);
     controlManager.RegisterControl <A6WEntryDTO>(typeof(usrA6W));
 }
Пример #6
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(SizeEntryDTO), SizeEntryStrings.ResourceManager);
     //controlManager.RegisterControl<SizeEntryDTO>(typeof(usrMeasurementsEntry));
 }
Пример #7
0
 public void Startup(EntryObjectLocalizationManager localizationManager, EntryObjectControlManager controlManager)
 {
     localizationManager.RegisterResourceManager(typeof(SuplementsEntryDTO), SuplementsEntryStrings.ResourceManager);
     controlManager.RegisterControl <SuplementsEntryDTO>(typeof(usrSuplements));
     ApplicationSettings.Register(SuplementsSettings.Default);
 }