Beispiel #1
0
        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));
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        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);
        }