Beispiel #1
0
        /************************************************************************/
        /* 基本処理	                                                            */
        /************************************************************************/

        /// <summary>
        /// コンストラクタ
        /// </summary>
        public MainWindow()
        {
            //ライセンスチェック
#if DL_DEBUG
            SystemManager.GetInstance().SetUserName("デバッグ起動");
#else
            //ライセンスチェック
            var path = SystemUtility.GetSystemPath() + "FCAdmy.lic";
            try
            {
                var user_Name = SystemUtility.GetLicenseUserName(path);
                SystemManager.GetInstance().SetUserName(user_Name);
            }
            catch (System.Exception)
            {
                Environment.Exit(1);
            }
#endif

            InitializeComponent();
            _InitializeSystem();
            SystemManager.GetInstance().SetScreenShotGrid(ScreenShotGrid);
        }