Esempio n. 1
0
        public static bool GetRunEnable()
        {
            var filePath = Application.ExecutablePath;
            var fileName = Path.GetFileName(filePath);

            return(WindowAutoRun.GetEnable(fileName, filePath));
        }
Esempio n. 2
0
        public static void SetRunEnable(bool runEnable)
        {
            var filePath = Application.ExecutablePath;
            var fileName = Path.GetFileName(filePath);

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