void initSplit(Measure m1, int size1, Measure m2, int size2) { if (m1 != Measure.Stretched) { init1 = size1; u1 = m1.Units; } if (m2 != Measure.Stretched) { init2 = size2; u2 = m2.Units; } }
protected void onMaximized(object sender, EventArgs e) { savedW = this.Width; savedH = this.Height; this.Width = Measure.Stretched; this.Height = Measure.Stretched; Maximized.Raise (sender, e); }