using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Aitex.Core.Backend
{
public partial class AOCtrl : UserControl
{
public AOCtrl()
{
InitializeComponent();
}
public void SetName(string name)
{
labelName.Text = name;
}
///
/// set value
///
///
public void SetValue(float value)
{
string disp = String.Format("{0:f2}", value);
if (textBoxCurr.Text != disp)
textBoxCurr.Text = disp;
}
}
}