From 1ebc052d0e5eccbfc376937a279c42d5347b57a0 Mon Sep 17 00:00:00 2001 From: Kotov <44296606+AIexandrKotov@users.noreply.github.com> Date: Tue, 23 Apr 2019 22:00:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B7=D0=B0=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B=D0=B5=20=D0=B4?= =?UTF-8?q?=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8=D1=8F=20=D1=81=20=D0=B4?= =?UTF-8?q?=D0=B8=D1=80=D0=B5=D0=BA=D1=82=D0=B8=D0=B2=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit в VisualPascalABCNET. Насколько я понял, там какой-то недоделанный/закрытый способ менять атрибуты проекта прямо из IDE. --- VisualPascalABCNET/Projects/ProjectProperties.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/VisualPascalABCNET/Projects/ProjectProperties.cs b/VisualPascalABCNET/Projects/ProjectProperties.cs index 1b98f8879..790029def 100644 --- a/VisualPascalABCNET/Projects/ProjectProperties.cs +++ b/VisualPascalABCNET/Projects/ProjectProperties.cs @@ -51,7 +51,8 @@ namespace VisualPascalABC this.tbCompany.Text = prj.Company; this.tbTradeMark.Text = prj.Trademark; this.tbCopyright.Text = prj.Copyright; - //this.tbTitle.Text = prj.Title; + //if (prj.Title != null) { this.tbTitle.Text = prj.Description; } else { this.tbTitle.Text = ""; }; + //if (prj.Description != null) { this.tbDescription.Text = prj.Description; } else { this.tbDescription.Text = ""; }; } public void SetOptions(PascalABCCompiler.IProjectInfo prj) @@ -79,8 +80,8 @@ namespace VisualPascalABC prj.Company = this.tbCompany.Text; prj.Trademark = this.tbTradeMark.Text; prj.Copyright = this.tbCopyright.Text; - //if (!string.IsNullOrEmpty(prj.Title)) prj.Title = this.tbTitle.Text; - //if (!string.IsNullOrEmpty(prj.Description)) prj.Description = this.tbDescription.Text; + //prj.Title = this.tbTitle.Text; + //prj.Description = this.tbDescription.Text; } private void ProjectProperties_FormClosing(object sender, FormClosingEventArgs e)