示例#1
0
        private void ApplySettings(object sender, EventArgs e)
        {
            UserPaths.vpPCDirO  = vpPCDirO.Text;
            UserPaths.vpXBDirO  = vpXBDirO.Text;
            UserPaths.vpTIPDirO = vpTIPDirO.Text;
            UserPaths.bkNbDirO  = bkNBDirO.Text;

            UserPrefs.Write();
            Close();
        }
示例#2
0
        public MainForm()
        {
            InitializeComponent();

            //////Set Global form variables.
            VP_Unpack.Globals.mainForm = this;
            Globals.caffHeaderControl  = new CaffHeaderControl();
            //////

            ResetForm();
            OutputConsole.SendMessage("Welcome to VP Unpack!");

            UserPrefs.Init();
        }