private void Form_OnShown(object sender, EventArgs e) { if (this.Owner != null) { this.StartPosition = FormStartPosition.Manual; LayoutHelper.CenterBothInScreen(this, this.Owner); } }
private void Form_OnShown(object sender, EventArgs e) { if (this.Owner != null) { this.StartPosition = FormStartPosition.Manual; LayoutHelper.CenterBothInScreen(this, this.Owner); } }