FrmScreenAutomation: Remove TopLevel when showing a FrmAutomationBotParams.
This commit is contained in:
@@ -131,8 +131,16 @@ namespace VAR.ScreenAutomation
|
|||||||
{
|
{
|
||||||
StartPosition = FormStartPosition.CenterParent
|
StartPosition = FormStartPosition.CenterParent
|
||||||
};
|
};
|
||||||
|
if (_isToplevel)
|
||||||
|
{
|
||||||
|
WindowHandling.WindowSetTopLevel(this, false);
|
||||||
|
}
|
||||||
frmAutomationBotParameters.ShowDialog();
|
frmAutomationBotParameters.ShowDialog();
|
||||||
InitBot(_automationBot.Name);
|
InitBot(_automationBot.Name);
|
||||||
|
if (_isToplevel)
|
||||||
|
{
|
||||||
|
WindowHandling.WindowSetTopLevel(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
|
|||||||
Reference in New Issue
Block a user