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; 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."; txtDescription.ToolTip = "This field contains a free-form text description of this application.";
txtDeveloper.ToolTip = "This field contains the developer of the application."; txtDeveloper.ToolTip =
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."; "This field contains the developer of the application. To edit its contents use the metadata editor.";
txtLanguages.ToolTip = "This field contains a comma separated list of languages the application includes."; txtFormat.ToolTip =
txtProduct.ToolTip = "This field contains the application name."; "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.";
txtTargetOs.ToolTip = "This field contains a comma separated list of operating systems this application can run on."; txtLanguages.ToolTip =
txtVersion.ToolTip = "This field contains the application version."; "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."; 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."; chkInstaller.ToolTip =
chkOem.ToolTip = "If this field is checked it indicates the application came bundled with hardware (aka OEM distributed)."; "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."; 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."; chkUpdate.ToolTip =
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."; "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; txtArchitecture.ReadOnly = true;
txtDeveloper.ReadOnly = true; txtDeveloper.ReadOnly = true;
txtFormat.ReadOnly = true;
txtLanguages.ReadOnly = true; txtLanguages.ReadOnly = true;
txtProduct.ReadOnly = true; txtProduct.ReadOnly = true;
txtTargetOs.ReadOnly = true; txtTargetOs.ReadOnly = true;
@@ -375,13 +385,7 @@ namespace apprepodbmgr.Eto
btnToggleCrack.Enabled = true; btnToggleCrack.Enabled = true;
txtFormat.ReadOnly = false; txtFormat.ReadOnly = false;
txtTargetOs.ReadOnly = false;
txtProduct.ReadOnly = false;
txtVersion.ReadOnly = false;
txtLanguages.ReadOnly = false;
txtDeveloper.ReadOnly = false;
txtDescription.ReadOnly = false; txtDescription.ReadOnly = false;
txtArchitecture.ReadOnly = false;
chkOem.Enabled = true; chkOem.Enabled = true;
chkFiles.Enabled = true; chkFiles.Enabled = true;
chkUpdate.Enabled = true; chkUpdate.Enabled = true;
@@ -479,13 +483,7 @@ namespace apprepodbmgr.Eto
} }
txtFormat.ReadOnly = true; txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true; txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false; chkOem.Enabled = false;
chkFiles.Enabled = false; chkFiles.Enabled = false;
chkUpdate.Enabled = false; chkUpdate.Enabled = false;
@@ -730,13 +728,7 @@ namespace apprepodbmgr.Eto
btnClose.Enabled = false; btnClose.Enabled = false;
prgProgress.Visible = true; prgProgress.Visible = true;
txtFormat.ReadOnly = true; txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true; txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false; chkOem.Enabled = false;
chkFiles.Enabled = false; chkFiles.Enabled = false;
chkUpdate.Enabled = false; chkUpdate.Enabled = false;
@@ -841,13 +833,7 @@ namespace apprepodbmgr.Eto
lblProgress.Visible = true; lblProgress.Visible = true;
lblProgress2.Visible = true; lblProgress2.Visible = true;
txtFormat.ReadOnly = true; txtFormat.ReadOnly = true;
txtTargetOs.ReadOnly = true;
txtProduct.ReadOnly = true;
txtVersion.ReadOnly = true;
txtLanguages.ReadOnly = true;
txtDeveloper.ReadOnly = true;
txtDescription.ReadOnly = true; txtDescription.ReadOnly = true;
txtArchitecture.ReadOnly = true;
chkOem.Enabled = false; chkOem.Enabled = false;
chkFiles.Enabled = false; chkFiles.Enabled = false;
chkUpdate.Enabled = false; chkUpdate.Enabled = false;
@@ -920,13 +906,7 @@ namespace apprepodbmgr.Eto
lblProgress.Visible = false; lblProgress.Visible = false;
lblProgress2.Visible = false; lblProgress2.Visible = false;
txtFormat.ReadOnly = false; txtFormat.ReadOnly = false;
txtTargetOs.ReadOnly = false;
txtProduct.ReadOnly = false;
txtVersion.ReadOnly = false;
txtLanguages.ReadOnly = false;
txtDeveloper.ReadOnly = false;
txtDescription.ReadOnly = false; txtDescription.ReadOnly = false;
txtArchitecture.ReadOnly = false;
chkOem.Enabled = true; chkOem.Enabled = true;
chkFiles.Enabled = true; chkFiles.Enabled = true;
chkUpdate.Enabled = true; chkUpdate.Enabled = true;