示例#1
0
        public frLogin()
        {
            InitializeComponent();

            //Added to support default instance behavour in C#
            if (defaultInstance == null)
            {
                defaultInstance = this;
            }
        }
示例#2
0
 static void defaultInstance_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     defaultInstance = null;
 }