/// <summary>
        /// Constructor.
        /// <br></br><br></br>
        /// Use this constructor when this control uses an external timer to
        /// perform the actions.
        /// </summary>
        /// <param name="timer"></param>
        public UserControlActivityLogging(System.Windows.Forms.Timer timer)
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            errorOutputEventHandler       = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
            informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
            warningOutputEventHandler     = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);

            this.timer       = timer;
            this.timer.Tick += new EventHandler(this.PerformActions);
        }
Esempio n. 2
0
        /// <summary>
        /// Constructor.
        /// <br></br><br></br>
        /// Use this constructor when this control uses an external timer to
        /// perform the actions.
        /// </summary>
        /// <param name="timer"></param>
        public UserControlActivityLogging(System.Windows.Forms.Timer timer)
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            errorOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
            informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
            warningOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);

            this.timer = timer;
            this.timer.Tick += new EventHandler(this.PerformActions);
        }
Esempio n. 3
0
        //
        // - Constructors -
        //

        /// <summary>
        /// Default constructor.
        /// </summary>
        public UserInterface()
        {
            errorOutputEventHandler       = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
            informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
            warningOutputEventHandler     = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);
        }
Esempio n. 4
0
        //
        // - Constructors -
        //

        /// <summary>
        /// Default constructor.
        /// </summary>
        public HliConsole()
        {
            errorOutputEventHandler       = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
            informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
            warningOutputEventHandler     = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);
        }
Esempio n. 5
0
 //
 // - Constructors -
 //
 /// <summary>
 /// Default constructor.
 /// </summary>
 public UserInterface()
 {
     errorOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
     informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
     warningOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);
 }
Esempio n. 6
0
 //
 // - Constructors -
 //
 /// <summary>
 /// Default constructor.
 /// </summary>
 public HliConsole()
 {
     errorOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleErrorOutputEvent);
     informationOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleInformationOutputEvent);
     warningOutputEventHandler = new Thread.TextOutputEventHandler(this.HandleWarningOutputEvent);
 }