public WinClassic StartInfobox95(string title, string text, InfoboxType type, InfoboxButtons btns) { pfc.AddFontFile(SaveSystem.GameDirectory + "\\Data\\LeviWindows.ttf"); Infobox95 app = new Infobox95(type, btns); app.infoText.Text = text; app.infoText.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); return(Init(app, title, null, false, false, resize: false)); }
public WinClassic startInfobox95(String title, String text, Image erroricon) { Infobox95 app = new Infobox95(); app.infoText.Text = text; SoundPlayer sp = new SoundPlayer(Properties.Resources.CHORD); sp.Play(); return(startWin95(app, title, null, false, false)); }
public Infobox95 startInfobox95(String title, String text, Image erroricon) { Infobox95 app = new Infobox95(); app.Title.Text = title; app.Text = title; app.infoText.Text = text; app.Show(); return(app); }