Added a call to activate when the setup dialog is shown.

This commit is contained in:
2019-06-04 19:52:44 +01:00
parent 675ed08425
commit 5501e97b7e
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -63,5 +63,10 @@ namespace ASCOM.Meade.net
return profileProperties; return profileProperties;
} }
private void SetupDialogForm_Shown(object sender, EventArgs e)
{
Activate();
}
} }
} }
+1
View File
@@ -102,6 +102,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.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);
this.PerformLayout(); this.PerformLayout();