예제 #1
0
 public static DangKi getInstance()
 {
     if (singleObject == null)
     {
         singleObject = new DangKi();
     }
     return(singleObject);
 }
예제 #2
0
        private void linkLb_Sign_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            DangKi dk = DangKi.getInstance();

            this.Visible = false;
            if (dk.ShowDialog() == DialogResult.Cancel)
            {
                dk.DialogResult = DialogResult.None;
                this.Visible    = true;
                vl = new ViewLayer();
            }
            else
            {
                linkLb_Sign_LinkClicked(sender, e);
            }

            // frmDangNhap.ActiveForm.Visible = true;
        }