using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Deckungsbeitrag { public partial class FormLaden : Form { public FormLaden() { InitializeComponent(); } public FormLaden(bool loading) : this() { Cursor = Cursors.WaitCursor; if (!loading) this.Close(); } private void pictureBoxWalli_MouseDoubleClick(object sender, MouseEventArgs e) { this.Close(); } } }