public static OSD ShowOSD(string text) { var osd = new OSD(); var pt = new Point(Screen.PrimaryScreen.Bounds.Width / 2, 0); var font = new Font(FontFamily.GenericSansSerif, 20.0f); osd.Show(pt, (byte)255, Color.White, font, 3000, MrSmarty.CodeProject.FloatingWindow.AnimateMode.RollTopToBottom, 100, text); return(osd); }