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