public DerivedTwo(SubjectObserver father, object x) { this.father = father; this.reference = (xKernelCentral)father; this.MinimizeBox = false; InitializeComponent(); this.ShowInTaskbar = false; }
public DerivedOne(SubjectObserver father, Object x) { this.MinimizeBox = false; this.ShowInTaskbar = false; InitializeComponent(); this.father = father; this.dependency = (xKernelCentral)father; this.update(x); }
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(); }