public void SaveOutfit(bool box = true)
 {
     GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true);
     if (box)
     {
         MessageBox.Show("Outfit Saved!", "Novetus - Outfit Saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 public void LoadOutfit()
 {
     using (var ofd = new OpenFileDialog())
     {
         ofd.Filter      = "Novetus config_customization files (*.ini)|*.ini";
         ofd.FilterIndex = 1;
         ofd.FileName    = "config_customization.ini";
         ofd.Title       = "Load config_customization.ini";
         if (ofd.ShowDialog() == DialogResult.OK)
         {
             GlobalFuncs.Customization(ofd.FileName, false);
             ReloadColors();
             MessageBox.Show("Outfit Loaded!", "Novetus - Outfit Loaded", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
 }
示例#3
0
 public void WriteCustomizationValues()
 {
     GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true);
     GlobalFuncs.ConsolePrint("Config Saved.", 3, ConsoleBox);
 }