Correct readonlyness in add dialog.

This commit is contained in:
2018-03-16 15:44:21 +00:00
parent 5afe5be82b
commit f81336e02a

View File

@@ -177,23 +177,33 @@ namespace apprepodbmgr.Eto
treeApps.AllowMultipleSelection = false;
txtArchitecture.ToolTip = "This field contains a comma separated list of architectures the application can run on. To edit its contents use the metadata editor.";
txtArchitecture.ToolTip =
"This field contains a comma separated list of architectures the application can run on. To edit its contents use the metadata editor.";
txtDescription.ToolTip = "This field contains a free-form text description of this application.";
txtDeveloper.ToolTip = "This field contains the developer of the application.";
txtFormat.ToolTip = "This field is contains the name of the format of the disk images, when it is not a byte-by-byte format like .iso or .img.";
txtLanguages.ToolTip = "This field contains a comma separated list of languages the application includes.";
txtProduct.ToolTip = "This field contains the application name.";
txtTargetOs.ToolTip = "This field contains a comma separated list of operating systems this application can run on.";
txtVersion.ToolTip = "This field contains the application version.";
txtDeveloper.ToolTip =
"This field contains the developer of the application. To edit its contents use the metadata editor.";
txtFormat.ToolTip =
"This field is contains the name of the format of the disk images, when it is not a byte-by-byte format like .iso or .img.";
txtLanguages.ToolTip =
"This field contains a comma separated list of languages the application includes. To edit its contents use the metadata editor.";
txtProduct.ToolTip =
"This field contains the application name. To edit its contents use the metadata editor.";
txtTargetOs.ToolTip =
"This field contains a comma separated list of operating systems this application can run on. To edit its contents use the metadata editor.";
txtVersion.ToolTip =
"This field contains the application version. To edit its contents use the metadata editor.";
chkFiles.ToolTip = "If this field is checked it indicates the application is already installed.";
chkInstaller.ToolTip = "If this field is checked it indicates the application comes as an installer (one or several files), but it's not installed neither disk images.";
chkOem.ToolTip = "If this field is checked it indicates the application came bundled with hardware (aka OEM distributed).";
chkInstaller.ToolTip =
"If this field is checked it indicates the application comes as an installer (one or several files), but it's not installed neither disk images.";
chkOem.ToolTip =
"If this field is checked it indicates the application came bundled with hardware (aka OEM distributed).";
chkSource.ToolTip = "If this field is checked it indicates this is the source code for the application.";
chkUpdate.ToolTip = "If this field is checked it indicates this version is a minor version update that requires a previous version of the application already installed.";
chkUpgrade.ToolTip = "If this field is checked it indicates this version is a major version upgrade that requires a previous version of the application already installed.";
chkUpdate.ToolTip =
"If this field is checked it indicates this version is a minor version update that requires a previous version of the application already installed.";
chkUpgrade.ToolTip =
"If this field is checked it indicates this version is a major version upgrade that requires a previous version of the application already installed.";
txtArchitecture.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtFormat.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtProduct.ReadOnly = true;
txtTargetOs.ReadOnly = true;
@@ -375,13 +385,7 @@ namespace apprepodbmgr.Eto
btnToggleCrack.Enabled = true;
txtFormat.ReadOnly = false;
txtTargetOs.ReadOnly = false;
txtProduct.ReadOnly = false;
txtVersion.ReadOnly = false;
txtLanguages.ReadOnly = false;
txtDeveloper.ReadOnly = false;
txtDescription.ReadOnly = false;
txtArchitecture.ReadOnly = false;
chkOem.Enabled = true;
chkFiles.Enabled = true;
chkUpdate.Enabled = true;
@@ -479,13 +483,7 @@ namespace apprepodbmgr.Eto
}
txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false;
chkFiles.Enabled = false;
chkUpdate.Enabled = false;
@@ -730,13 +728,7 @@ namespace apprepodbmgr.Eto
btnClose.Enabled = false;
prgProgress.Visible = true;
txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false;
chkFiles.Enabled = false;
chkUpdate.Enabled = false;
@@ -841,13 +833,7 @@ namespace apprepodbmgr.Eto
lblProgress.Visible = true;
lblProgress2.Visible = true;
txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false;
chkFiles.Enabled = false;
chkUpdate.Enabled = false;
@@ -920,13 +906,7 @@ namespace apprepodbmgr.Eto
lblProgress.Visible = false;
lblProgress2.Visible = false;
txtFormat.ReadOnly = false;
txtTargetOs.ReadOnly = false;
txtProduct.ReadOnly = false;
txtVersion.ReadOnly = false;
txtLanguages.ReadOnly = false;
txtDeveloper.ReadOnly = false;
txtDescription.ReadOnly = false;
txtArchitecture.ReadOnly = false;
chkOem.Enabled = true;
chkFiles.Enabled = true;
chkUpdate.Enabled = true;