Attempt to make sure that the setup dialog comes up on top of windows.
This commit is contained in:
@@ -74,6 +74,7 @@ namespace ASCOM.Meade.net
|
|||||||
|
|
||||||
private void SetupDialogForm_Shown(object sender, EventArgs e)
|
private void SetupDialogForm_Shown(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
BringToFront();
|
||||||
Activate();
|
Activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Generated
+1
@@ -152,6 +152,7 @@ namespace ASCOM.Meade.net
|
|||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "SetupDialogForm";
|
this.Name = "SetupDialogForm";
|
||||||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||||
|
this.TopMost = true;
|
||||||
this.Shown += new System.EventHandler(this.SetupDialogForm_Shown);
|
this.Shown += new System.EventHandler(this.SetupDialogForm_Shown);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.picASCOM)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.picASCOM)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user