public static Keys GetKeySet(SShot s) { return (Keys)Enum.Parse(typeof(Keys), MainForm.Setting.iniSave.GetSetting("HotKey", s.shotType)); }
public static void SaveKeySet(SShot s) { MainForm.Setting.iniSave.WriteSetting("HotKey", s.shotType, s.Key.ToString()); }