Пример #1
0
        void Button2_Click(object sender, EventArgs e)
        {
            var serializer = MyApplication.GetSerializer();

            DatabaseAPI.AssignStaticIndexValues(serializer, true);
            Interaction.MsgBox("Static Index values assigned.", MsgBoxStyle.Information, "Indexing Complete");
        }
Пример #2
0
        private void Button2_Click(object sender, EventArgs e)
        {
            var serializer = MyApplication.GetSerializer();

            DatabaseAPI.AssignStaticIndexValues(serializer, true);
            MessageBox.Show(@"Static Index values assigned.", @"Indexing Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
Пример #3
0
 void btnSave_Click(object sender, EventArgs e)
 {
     I9Gfx.LoadEnhancements();
     DatabaseAPI.AssignStaticIndexValues();
     DatabaseAPI.AssignRecipeIDs();
     DatabaseAPI.SaveEnhancementDb();
     base.Hide();
 }
Пример #4
0
        void btnSave_Click(object sender, EventArgs e)
        {
            I9Gfx.LoadEnhancements();
            var serializer = MyApplication.GetSerializer();

            DatabaseAPI.AssignStaticIndexValues(serializer, false);
            DatabaseAPI.AssignRecipeIDs();
            DatabaseAPI.SaveEnhancementDb(serializer);
            Hide();
        }
Пример #5
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            BusyMsg("Saving, please wait...");
            I9Gfx.LoadEnhancements();
            foreach (var power in DatabaseAPI.Database.Power)
            {
                power.BaseRechargeTime = power.RechargeTime;
            }
            Array.Sort(DatabaseAPI.Database.Power);
            var serializer = MyApplication.GetSerializer();

            DatabaseAPI.AssignStaticIndexValues(serializer, false);
            DatabaseAPI.AssignRecipeIDs();
            DatabaseAPI.SaveEnhancementDb(serializer);
            DatabaseAPI.MatchAllIDs();
            Task.Delay(1000).Wait();
            DatabaseAPI.SaveMainDatabase(serializer);
            BusyHide();
            DialogResult = DialogResult.OK;
            Hide();
        }
Пример #6
0
 void Button2_Click(object sender, EventArgs e)
 {
     DatabaseAPI.AssignStaticIndexValues();
     Interaction.MsgBox("Static Index values assigned.", MsgBoxStyle.Information, "Indexing Complete");
 }