예제 #1
0
 public Community()
 {
     Proxy = new WebProviderEventAccessor(this);
     InitializeComponent();
     GuildInfoModel        = new GuildInfoViewModel(LanguageManager);
     GuildInfo.DataContext = GuildInfoModel;
 }
예제 #2
0
        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();
            }
        }