Exemplo n.º 1
0
        private void SetBootUp()
        {
            bool   IsStart = this.BootUp.IsChecked == null ? false : this.BootUp.IsChecked.Value;
            string path    = Process.GetCurrentProcess().MainModule.FileName;

            BootUpUtils.SelfRunning(IsStart, JTApp, path);
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            bool isExist = BootUpUtils.IsExistKey(JTApp);

            this.BootUp.IsChecked = isExist;

            this.StartMusic.IsChecked = IsStartMusic();
        }