How to get the size of an inherited form in the base form?
Problem: Using a Form as base for other Forms, in the base class constructor, the this reference returns the Size of the base class instead of the Size of the derived class. public class FormBase : Form { public FormBase() { InitializeComponent(); Program.MainForm.AddToFormSizes(this, this.Size); } } It’s just a matter of following the sequence of … Read more