Esempio n. 1
0
        private void displayInfoWithClick(string info, string titel, string pic, frmInfoBox.ClickEvents clickEvent, Action ev)
        {
            infoBox = new frmInfoBox(titel, info, pic, ev, clickEvent);

            Controls.Add(infoBox);

            setInfoBoxPosition();

            infoBox.BringToFront();

            infoBox.Show();
        }
Esempio n. 2
0
        /// <summary>
        /// Zeigt eine Info im Info-Bereich.
        /// </summary>
        /// <param name="info"></param>
        /// <param name="titel"></param>
        /// <param name="pic"></param>
        private void displayInfo(string info, string titel, string pic)
        {
            infoBox = new frmInfoBox(titel, info, pic);

            Controls.Add(infoBox);

            setInfoBoxPosition();

            infoBox.BringToFront();


            infoBox.Show();
        }