Beispiel #1
0
        public Main()
        {
            INSTANCE = this;
            StartMessage();
            buildVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString();
            buildVersion = buildVersion.Substring(0, buildVersion.LastIndexOf("."));
            overlays     = new Overlay[4] {
                new Overlay(), new Overlay(), new Overlay(), new Overlay()
            };
            window              = new RewardWindow();
            dataBase            = new Data();
            relicWindow         = new RelicsWindow();
            equipmentWindow     = new EquipmentWindow();
            settingsWindow      = new Settings();
            snapItOverlayWindow = new SnapItOverlay();

            AutoUpdater.CheckForUpdateEvent += AutoUpdaterOnCheckForUpdateEvent;
            AutoUpdater.Start("https://github.com/WFCD/WFinfo/releases/latest/download/update.xml");

            Task.Factory.StartNew(ThreadedDataLoad);
        }
Beispiel #2
0
 public EquipmentWindow()
 {
     InitializeComponent();
     INSTANCE = this;
 }