예제 #1
0
파일: Form3.cs 프로젝트: andrew-x/COBWEB-3D
        public Form3()
        {
            InitializeComponent();

            //Added to support default instance behavour in C#
            if (defaultInstance == null)
                defaultInstance = this;
        }
예제 #2
0
파일: Form3.cs 프로젝트: andrew-x/COBWEB-3D
 static void defaultInstance_FormClosed(object sender, FormClosedEventArgs e)
 {
     defaultInstance = null;
 }