Ejemplo n.º 1
0
        public PeekForm(FAES_File faesFile)
        {
            InitializeComponent();

            titleLabel.Text += Program.GetVersion();
            base.Text        = titleLabel.Text;

            peekPanel.LockFileSelect(true);
            peekPanel.SetFileToDecrypt(faesFile);

            if (!Program.programManager.GetSkipUpdates())
            {
                UpdateForm updateForm = new UpdateForm();
                updateForm.CheckForUpdate();
            }
        }
Ejemplo n.º 2
0
        public EncryptForm(FAES_File faesFile)
        {
            InitializeComponent();

            titleLabel.Text += Program.GetVersion();
            base.Text        = titleLabel.Text;

            encryptPanel.LockFileSelect(true);
            encryptPanel.setCloseAfterOperationSuccessful(true);
            encryptPanel.SetFileToEncrypt(faesFile);

            if (Program.programManager.GetSkipUpdates())
            {
                return;
            }
            UpdateForm updateForm = new UpdateForm();

            updateForm.CheckForUpdate();
        }