예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //First we want to read in the list containing all viable prime items
            WarframeMarketApi.ReadWarframeMarketAllItemsJson();

            Application.Run(new VoidChecker());
            //Application.Run(new Inventory());
            //Form f = new Inventory();
            //f.ShowDialog();
        }
예제 #2
0
        /// <summary>
        /// Inventory constructor, gets called before the load
        /// </summary>
        public Inventory()
        {
            InitializeComponent();
            MainItemPanel.AutoScroll = true;

            allPrimeItems = WarframeMarketApi.GetAllPrimeItems();
            allPrimeSets  = WarframeMarketApi.GetAllPrimesBySet();

            if (File.Exists(JSONpath + inventorySaveFile))
            {
                LoadInventoryData();
            }
            else
            {
                SaveInventoryData(true);
            }
        }