コード例 #1
0
        public static bool GetRunEnable()
        {
            var filePath = Application.ExecutablePath;
            var fileName = Path.GetFileName(filePath);

            return(WindowAutoRun.GetEnable(fileName, filePath));
        }
コード例 #2
0
        public static void SetRunEnable(bool runEnable)
        {
            var filePath = Application.ExecutablePath;
            var fileName = Path.GetFileName(filePath);

            WindowAutoRun.SetEnable(fileName, filePath, runEnable);
        }