/// <summary>
        /// Activates this screen.
        /// </summary>
        public override void Activate(CryptorProject project)
        {
            // Call base activate
            base.Activate(project);

            // Set element value if possible
            if (!String.IsNullOrEmpty(project.CodeFilePath))
                this.txtCodeFilePath.Text = project.CodeFilePath;
            else
                this.txtCodeFilePath.Text = String.Empty;
        }
        /// <summary>
        /// Activates this screen.
        /// </summary>
        public override void Activate(CryptorProject project)
        {
            // Call the base implementation
            base.Activate(project);

            // Create a new package
            project.Package = PPackage.Create();

            // Set the package
            this.ffsSelector.Package = project.Package;

            // Refresh the file folder selector
            this.ffsSelector.Invalidate();
        }
Beispiel #3
0
        /// <summary>
        /// Activates this screen.
        /// </summary>
        public virtual void Activate(CryptorProject project)
        {
            // Set project
            this._project = project;

            // Show the current screen
            this.Visible = true;

            // Validate screen
            this.ValidateScreen();
        }