Attempt to make sure that the setup dialog comes up on top of windows.

This commit is contained in:
2019-08-23 18:05:10 +01:00
parent c311fb8cbe
commit efa78ec8a0
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@ namespace ASCOM.Meade.net
private void SetupDialogForm_Shown(object sender, EventArgs e)
{
BringToFront();
Activate();
}
+1
View File
@@ -152,6 +152,7 @@ namespace ASCOM.Meade.net
this.MinimizeBox = false;
this.Name = "SetupDialogForm";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.TopMost = true;
this.Shown += new System.EventHandler(this.SetupDialogForm_Shown);
((System.ComponentModel.ISupportInitialize)(this.picASCOM)).EndInit();
this.ResumeLayout(false);