Beispiel #1
0
        private frmMain()
        {
            IsClosing = false;
            InitializeComponent();

            //Added to support default instance behavour in C#
            if (defaultInstance == null)
                defaultInstance = this;
            fullscreenManager = new Tools.Misc.Fullscreen(this);
            Runtime.Windows.Show(Type.Connection);
        }
Beispiel #2
0
 private static void defaultInstance_FormClosed(object sender, FormClosedEventArgs e)
 {
     defaultInstance = null;
 }