public Community() { Proxy = new WebProviderEventAccessor(this); InitializeComponent(); GuildInfoModel = new GuildInfoViewModel(LanguageManager); GuildInfo.DataContext = GuildInfoModel; }
public DigiRotation() { EventProxy = new WebProviderEventAccessor(this); App.Kernel.Inject(this); InitializeComponent(); LoadingTask = new TaskEntry(this); if (!System.ComponentModel.DesignerProperties.GetIsInDesignMode(new DependencyObject())) { LanguageManager.LanguageChanged += OnLanguageChanged; ProfileManager.ProfileChanged += OnProfileChanged; MainWorker.DoWork += MainWorkerFunc; MainWorker.RunWorkerAsync(); } }