Fixed: title not updating
This commit is contained in:
parent
cb39305541
commit
69cd0f6376
@ -508,6 +508,20 @@ namespace RyzStudio.Windows.Forms
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetText(ThemedForms.TextBox control, string text)
|
||||
{
|
||||
if (control.InvokeRequired)
|
||||
{
|
||||
control.Invoke(new MethodInvoker(() => {
|
||||
control.InnerTextBox.Text = text;
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
control.InnerTextBox.Text = text;
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetTopMost(Form control, bool value)
|
||||
{
|
||||
if (control.InvokeRequired)
|
||||
|
Reference in New Issue
Block a user