Ver 2025.03.19.3
:: FrmSimulator Disable Patch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user