public AppButton(int x, int y, String name, AppComponent owner) { base.Location = new Point(x, y); base.Text = name; base.BackColor = Color.White; Show(); owner.AddControl(this); }
public void addOwner(AppComponent owner) { owner.AddControl(this); }