mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Do not use top most, but dialog for the game settings.
This commit is contained in:
@@ -95,9 +95,8 @@ namespace GHelper.AutoTDP
|
||||
p.MinTdp = 15;
|
||||
|
||||
profileUI = new AutoTDPGameProfileUI(p, this);
|
||||
profileUI.TopMost = true;
|
||||
profileUI.FormClosed += ProfileUI_FormClosed;
|
||||
profileUI.Show();
|
||||
profileUI.ShowDialog(this);
|
||||
}
|
||||
|
||||
private void ProfileUI_FormClosed(object? sender, FormClosedEventArgs e)
|
||||
@@ -193,9 +192,8 @@ namespace GHelper.AutoTDP
|
||||
{
|
||||
GameProfile gp = (GameProfile)((RButton)sender).Tag;
|
||||
profileUI = new AutoTDPGameProfileUI(gp, this);
|
||||
profileUI.TopMost = true;
|
||||
profileUI.FormClosed += ProfileUI_FormClosed;
|
||||
profileUI.Show();
|
||||
profileUI.ShowDialog(this);
|
||||
}
|
||||
|
||||
public void DeleteGameProfile(GameProfile gp)
|
||||
|
||||
@@ -280,7 +280,6 @@ namespace GHelper
|
||||
private void ButtonAutoTDP_Click(object? sender, EventArgs e)
|
||||
{
|
||||
autoTdpUi = new AutoTDPUI();
|
||||
autoTdpUi.TopMost = true;
|
||||
autoTdpUi.FormClosed += AutoTdpUi_FormClosed;
|
||||
autoTdpUi.Disposed += AutoTdpUi_Disposed;
|
||||
if (!autoTdpUi.IsDisposed)
|
||||
|
||||
Reference in New Issue
Block a user