public void AddToMainForm(MainUI main) { main.Controls.Add(ControlBase); }
public void RemoveFromMainForm(MainUI main) { main.Controls.Remove(ControlBase); }
public Worker(MainUI mainForm) { Chunks = new List<Chunk>(); Controls = new List<ControlObject>(); MainForm = mainForm; }