public App(int x, int y, int width, int height, PictureBox p) { this.isSelected = false; this.rect = new UserRect(new Rectangle(x, y, width, height)); this.rect.SetPictureBox(p); this.rect.SetApp(this); this.parentPanel = p; }
public App(int x, int y, int width, int height, PictureBox p, int minWidth, int minHeight, string appName, string appData) { this.isSelected = false; this.rect = new UserRect(new Rectangle(x, y, width, height)); this.rect.SetPictureBox(p); this.rect.SetApp(this); this.parentPanel = p; this.minWidth = minWidth; this.minHeight = minHeight; this.appName = appName; this.appData = appData; }
public void delete() { rect.delete(); rect = null; }