Fix FindType Property

This commit is contained in:
Ivandro Ismael 2015-08-02 02:00:20 +01:00
parent 94eaf54761
commit 7b8d405cb7

View File

@ -40,12 +40,18 @@ namespace Nikse.SubtitleEdit.Forms
}
set
{
if (value == FindType.CaseSensitive)
radioButtonCaseSensitive.Checked = true;
if (value == FindType.Normal)
radioButtonNormal.Checked = true;
if (value == FindType.RegEx)
radioButtonRegEx.Checked = true;
switch (value)
{
case FindType.Normal:
radioButtonNormal.Checked = true;
break;
case FindType.CaseSensitive:
radioButtonCaseSensitive.Checked = true;
break;
case FindType.RegEx:
radioButtonRegEx.Checked = true;
break;
}
}
}