Esempio n. 1
0
        public CoreOptions()
        {
            UiControls.ApplyDefaultsFromAttributes(this);
            this.ViewTypes = new List <GroupInfo>();
            this.Colours   = new CoreColourSettings();
            this.UserFlags = new List <UserFlag>();
            this.UserFlags.Add(new UserFlag("INT", '1', "Interesting", Color.Green));
            this.UserFlags.Add(new UserFlag("CHK", '2', "Checked", Color.Gray));
            this.UserFlags.Add(new UserFlag("BOR", '3', "Boring", Color.DarkRed));

            this.PeakDisplay     = new PlotSetup();
            this.ClusterDisplay  = new PlotSetup();
            this.CompoundDisplay = new PlotSetup();
            this.PathwayDisplay  = new PlotSetup();

            this.PeakDisplay.Information = new ParseElementCollection("m/z = {m/z}, rt = {tʀ}");
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public CoreColourSettings()
 {
     UiControls.ApplyDefaultsFromAttributes(this);
 }