Exemple #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public Options()
        {
            InitializeComponent();

            if (!Directory.Exists(Updater.appdata + "\\.mercraft"))
            {
                Directory.CreateDirectory(Updater.appdata + "\\.mercraft");
            }
            Config = new MerCraftConfig(Updater.appdata + "\\.mercraft\\config");
        }
Exemple #2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public Options()
        {
            InitializeComponent();

            if (!Directory.Exists(Updater.appdata + "\\.mercraft"))
                Directory.CreateDirectory(Updater.appdata + "\\.mercraft");
            Config = new MerCraftConfig(Updater.appdata + "\\.mercraft\\config");
        }