/[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

--- trunk/OhmsLawCalc/UI/UICurrentInput.cs	2014/01/29 06:39:26	19
+++ trunk/OhmsLawCalc/UI/UICurrentInput.cs	2014/01/29 07:17:52	20
@@ -6,14 +6,28 @@
 using System.Linq;
 using System.Text;
 using System.Windows.Forms;
+using libOhmsLawCalc;
 
 namespace OhmsLawCalc.UI
 {
-    public partial class UICurrentInput : UserControl
+    public partial class UICurrentInput : UserControl, IResetInput, ICalc
     {
         public UICurrentInput()
         {
             InitializeComponent();
         }
+        #region IResetInput members
+        public void Reset()
+        {
+            circuitValue1.Reset();
+        }
+        #endregion
+
+        #region ICalc members
+        public OhmsLawValue GetValue()
+        {
+            return circuitValue1.GetValue();
+        }
+        #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22