Ver 2025.03.19.3

:: FrmSimulator Disable Patch
This commit is contained in:
2025-03-19 14:40:27 +09:00
parent 1d77f7a2cd
commit 7b11a3e1b1
2 changed files with 4 additions and 4 deletions

View File

@@ -1008,7 +1008,7 @@ namespace DDUtilityApp.TIBRENDEZVOUS
{
if (ctrl.GetType() == typeof(Label)) continue;
else if (ctrl.GetType() == typeof(TextBox)) ((TextBox)ctrl).ReadOnly = true;
else if (ctrl.GetType() == typeof(ComboBox)) ((ComboBox)ctrl).Enabled = false;
else if (ctrl.GetType() == typeof(ComboBox)) { ComboBox cbox = ctrl as ComboBox; cbox.DropDownStyle = ComboBoxStyle.DropDownList; cbox.Enabled = false; }
else ctrl.Enabled = false;
}
}
@@ -1038,7 +1038,7 @@ namespace DDUtilityApp.TIBRENDEZVOUS
{
if (ctrl.GetType() == typeof(Label)) continue;
else if (ctrl.GetType() == typeof(TextBox)) ((TextBox)ctrl).ReadOnly = false;
else if (ctrl.GetType() == typeof(ComboBox)) ((ComboBox)ctrl).Enabled = true;
else if (ctrl.GetType() == typeof(ComboBox)) { ComboBox cbox = ctrl as ComboBox; cbox.DropDownStyle = ComboBoxStyle.DropDown; cbox.Enabled = true; }
else ctrl.Enabled = true;
}
}