using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BWP.WinFormControl.WeightControl_
|
|
{
|
|
public class WeightEventArgu : EventArgs
|
|
{
|
|
private string mWeight;
|
|
private string mFormat;
|
|
|
|
public WeightEventArgu(string weight,string format)
|
|
{
|
|
mWeight = weight;
|
|
mFormat = format;
|
|
}
|
|
|
|
public string WeightData
|
|
{
|
|
get
|
|
{
|
|
return string.Format(mFormat, decimal.Parse(mWeight));
|
|
}
|
|
}
|
|
}
|
|
}
|