/[OhmsLawCalc]/trunk/OhmsLawCalc/UI/UICurrentInput.cs
ViewVC logotype

Diff of /trunk/OhmsLawCalc/UI/UICurrentInput.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by william, Wed Jan 29 06:39:26 2014 UTC revision 20 by william, Wed Jan 29 07:17:52 2014 UTC
# Line 6  using System.Data; Line 6  using System.Data;
6  using System.Linq;  using System.Linq;
7  using System.Text;  using System.Text;
8  using System.Windows.Forms;  using System.Windows.Forms;
9    using libOhmsLawCalc;
10    
11  namespace OhmsLawCalc.UI  namespace OhmsLawCalc.UI
12  {  {
13      public partial class UICurrentInput : UserControl      public partial class UICurrentInput : UserControl, IResetInput, ICalc
14      {      {
15          public UICurrentInput()          public UICurrentInput()
16          {          {
17              InitializeComponent();              InitializeComponent();
18          }          }
19            #region IResetInput members
20            public void Reset()
21            {
22                circuitValue1.Reset();
23            }
24            #endregion
25    
26            #region ICalc members
27            public OhmsLawValue GetValue()
28            {
29                return circuitValue1.GetValue();
30            }
31            #endregion
32      }      }
33  }  }

Legend:
Removed from v.19  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.22