diff --git a/pwiz_tools/Skyline/Menus/SkylineControl.cs b/pwiz_tools/Skyline/Menus/SkylineControl.cs index f7023fc601..7583bde65e 100644 --- a/pwiz_tools/Skyline/Menus/SkylineControl.cs +++ b/pwiz_tools/Skyline/Menus/SkylineControl.cs @@ -44,6 +44,8 @@ public SkylineControl(SkylineWindow skylineWindow) : this() SkylineWindow = skylineWindow; } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Helpers.ModeUIExtender ModeUiHandler { get { return modeUIHandler; } @@ -55,12 +57,18 @@ private void InitializeComponent() modeUIHandler = new Helpers.ModeUIExtender(_components); } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public SkylineWindow SkylineWindow { get; private set; } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public SrmDocument DocumentUI { get { return SkylineWindow?.DocumentUI; } } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public SrmDocument Document { get { return SkylineWindow?.Document; } @@ -71,22 +79,30 @@ public void ModifyDocument(string description, Func ac SkylineWindow.ModifyDocument(description, null, act, null, null, logFunc); } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IdentityPath SelectedPath { get { return SkylineWindow?.SelectedPath; } set { SkylineWindow.SelectedPath = value; } } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public SequenceTree SequenceTree { get { return SkylineWindow.SequenceTree; } } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public TreeNodeMS SelectedNode { get { return SkylineWindow.SelectedNode; } } + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int SelectedResultsIndex { get