private void BTN_Ok_Click(object sender, EventArgs e) { pulse = new PulseClass(Convert.ToInt32(CB_Pin.Text), (CB_Output.Text == "HIGH" ? true : false), Convert.ToInt32(NUD_Duration.Value)); }
public CRUD_Dialog(PulseClass entree) { pulse = entree; InitializeComponent(); }