source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/BMX41000/IHS BMX Framework/IndianHealthService.BMXNet.TestBench/LogTranscriptControl.cs

Last change on this file was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 1.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Text;
7using System.Windows.Forms;
8using IndianHealthService.BMXNet.Services;
9
10namespace IndianHealthService.BMXNet.TestBench
11{
12 public partial class LogTranscriptControl : UserControl,ILog
13 {
14 public LogTranscriptControl()
15 {
16 InitializeComponent();
17 }
18
19 #region ILog Members
20
21 public bool IsLogging
22 {
23 get { return true; }
24 }
25
26 public void Log(string aClass, string aCategory, string aMessage)
27 {
28 this.transcriptBox.AppendText(DateTime.Now.ToString("HH:MM:ss.mm").PadRight(12)+" "+aClass.PadRight(10) + " " + aCategory.PadRight(20) + " " + aMessage);
29 }
30
31 #endregion
32
33 #region ILog Members
34
35
36 public void Log(string aClass, string aCategory, params string[] lines)
37 {
38 throw new NotImplementedException();
39 }
40
41 public void Log(string aClass, string aCategory, Exception anException, params string[] lines)
42 {
43 throw new NotImplementedException();
44 }
45
46 #endregion
47 }
48}
Note: See TracBrowser for help on using the repository browser.