protected override void OnParentChanged(EventArgs e) { base.OnParentChanged(e); if (Program.SkylineOffscreen && ParentForm != null) { FormEx.SetOffscreen(ParentForm); } }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (Program.SkylineOffscreen && Parent == null) { FormEx.SetOffscreen(this); } }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); // Potentially replace "peptide" with "molecule" etc in all controls on open, or possibly disable non-proteomic components etc GetModeUIHelper().OnLoad(this); if (Program.SkylineOffscreen && Parent == null) { FormEx.SetOffscreen(this); } }