Beispiel #1
0
        /// <param name="bootloader"></param>
        /// <param name="pin"></param>
        public VersionFrm(IBootloader bootloader, ITransfer pin)
        {
            manager = new Manager(bootloader.Env);
            _pin    = pin;

            InitializeComponent();
            Icon = Resource.Package_32;

            editorStepGen._.WordWrap        = false;
            editorStepGen._.IsReadOnly      = true;
            editorStepGen._.FontSize        = 9.25f;
            editorStepGen.setBackgroundFromString("#F4F4F4");

            editorFinalScript.colorize(TextEditor.ColorSchema.SBEScripts);
            editorFinalScript.codeCompletionInit(new Inspector(bootloader), new MSBuild.Parser(bootloader.Env, bootloader.UVariable));
            editorFinalScript.CodeCompletionEnabled = true;
            editorFinalScript._.WordWrap            = false;

            tabControlMain.Top      = -22;
            tabControlMain.Height   += 22;
            tcRevNumber.SizeMode    = TabSizeMode.Fixed;
            tcReplType.SizeMode     = TabSizeMode.Fixed;
            btnPrevStep.Visible     = false;

            string spath = bootloader.Env.SolutionPath ?? Settings.WPath;

            ftbInputNum.Dialog.InitialDirectory = ftbOutputFile.Dialog.InitialDirectory
                                                = ftbReplFile.Dialog.InitialDirectory
                                                = spath.PathFormat();
        }
Beispiel #2
0
 /// <param name="req">Manager of used steps for generation.</param>
 public StepFinal(Manager req)
 {
     this.req = req;
 }