You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

44 lines
940 B

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WinFormControl;
namespace Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
comboBox1.DataSource = Enum.GetNames(typeof(SoundType));
}
private void uWeightControl1_ReceivedValue(decimal obj)
{
MessageBox.Show(obj.ToString());
}
private void uScanPanel1_BeforeScan()
{
//throw new Exception("dddddd");
}
private void uScanPanel1_AfterScan()
{
MessageBox.Show(uScanPanel1.TextBox.Text);
}
private void uButton1_Click(object sender, EventArgs e)
{
//SoundType sy;
//if (Enum.TryParse(comboBox1.SelectedValue.ToString(), out sy))
// SoundPalyUtil.PlaySound(sy);
}
}
}