实例:
FormMsg msg = new FormMsg();
msg.TopMost = True;
msg.StarPosition = FormStarPosition.Centerparent;
msg.ShowDialog();