Exemple #1
0
 protected override void OnParentChanged(EventArgs e)
 {
     base.OnParentChanged(e);
     if (Program.SkylineOffscreen && ParentForm != null)
     {
         FormEx.SetOffscreen(ParentForm);
     }
 }
Exemple #2
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     if (Program.SkylineOffscreen && Parent == null)
     {
         FormEx.SetOffscreen(this);
     }
 }
Exemple #3
0
        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);
            }
        }