예제 #1
0
 public DerivedTwo(SubjectObserver father, object x)
 {
     this.father      = father;
     this.reference   = (xKernelCentral)father;
     this.MinimizeBox = false;
     InitializeComponent();
     this.ShowInTaskbar = false;
 }
예제 #2
0
 public DerivedOne(SubjectObserver father, Object x)
 {
     this.MinimizeBox   = false;
     this.ShowInTaskbar = false;
     InitializeComponent();
     this.father     = father;
     this.dependency = (xKernelCentral)father;
     this.update(x);
 }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (dos5.Text.Trim() == "33")
            {
                xKernelCentral win = new xKernelCentral();
                win.Show();
                this.Visible = false;
                return;
            }

            Definitions.errorMessage("Contraseña Incorrecta!");
            onit();
        }