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.

32 lines
555 B

3 years ago
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;
namespace ModbusSlave.Dialog
{
public partial class InputValueDialog : Form
{
public string Value
{
get { return tbValue.Text; }
set { tbValue.Text = value; }
}
public InputValueDialog()
{
InitializeComponent();
}
private void btnOk_Click(object sender, EventArgs e)
{
this.Value = tbValue.Text;
}
}
}