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"); }
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); }
void btnSave_Click(object sender, EventArgs e) { I9Gfx.LoadEnhancements(); DatabaseAPI.AssignStaticIndexValues(); DatabaseAPI.AssignRecipeIDs(); DatabaseAPI.SaveEnhancementDb(); base.Hide(); }
void btnSave_Click(object sender, EventArgs e) { I9Gfx.LoadEnhancements(); var serializer = MyApplication.GetSerializer(); DatabaseAPI.AssignStaticIndexValues(serializer, false); DatabaseAPI.AssignRecipeIDs(); DatabaseAPI.SaveEnhancementDb(serializer); Hide(); }
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(); }
void Button2_Click(object sender, EventArgs e) { DatabaseAPI.AssignStaticIndexValues(); Interaction.MsgBox("Static Index values assigned.", MsgBoxStyle.Information, "Indexing Complete"); }