Пример #1
0
		/// <summary>
		/// This is the base constructor 
		/// </summary>
		/// <param name="keyName">The key name of the form</param>
		/// <param name="parentKeyName">The key name of the parent node to hock into</param>
		/// <param name="settings">The settings</param>
		protected BaseSettings( string keyName, string parentKeyName, TracePreferences settings )
		{
			InitializeComponent();
			m_name = keyName;
			StringBuilder sb = new StringBuilder();
			sb.AppendFormat( "{0}_TREE_DESC", m_name );
			m_desc = ResourceManager.GetString( sb.ToString(),
				"Workshare.Trace.UI.Properties.Resources",
				typeof( BaseSettings ).Assembly );
			m_parent = parentKeyName;
			m_settings = settings;
			this.TopLevel = false;
		}
Пример #2
0
        public ScanFcsSettings(TracePreferences settings)
			: base( "SCANFCSSETTING", "ENVIRO", settings )
        {
            InitializeComponent();
			base.IsFirst = true;
        }
Пример #3
0
		/// <summary>
		/// This constructor will initialise the internal members
		/// </summary>
		/// <param name="settings">The settings handle</param>
		public AboutSettings( TracePreferences settings )
			: base( "ABOUTSETTING", "INFORMATION", settings )
		{
			InitializeComponent();
			base.IsFirst = true;
		}
Пример #4
0
        /// <summary>
        /// This constructor will initialise the internal members
        /// </summary>
        /// <param name="settings">The settings handle</param>
		public ViewSettings( TracePreferences settings )
			:base("VIEWSETTING", "ENVIRO", settings)
        {
            InitializeComponent();
        }
Пример #5
0
        /// <summary>
        /// This constructor will initialise the internal members
        /// </summary>
        /// <param name="settings">The settings handle</param>
		public LocationSettings( TracePreferences settings )
            : base("LOCSETTING", "ENVIRO", settings)
        {
            InitializeComponent();
			base.IsFirst = true;
        }
Пример #6
0
        /// <summary>
        /// This constructor will initialise the internal members
        /// </summary>
        /// <param name="settings">The settings handle</param>
		public ColourSettings( TracePreferences settings )
			:base("COLOURSETTING", "ENVIRO", settings)
        {
            InitializeComponent();
			
        }