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.
|
|
|
|
using SerialCommApp.SeriallLibs;
|
|
|
|
|
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 SerialCommApp.Dialogs
|
|
|
|
|
{
|
|
|
|
|
public partial class CommSettingDialog : Form
|
|
|
|
|
{
|
|
|
|
|
public PSerialCommSetting Setting { get; set; }
|
|
|
|
|
|
|
|
|
|
public CommSettingDialog(PSerialCommSetting setting)
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
InitInstance(setting);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void InitInstance(PSerialCommSetting setting)
|
|
|
|
|
{
|
|
|
|
|
this.Setting = setting;
|
|
|
|
|
pgrComm.SelectedObject = this.Setting;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|