private void buttonParallelSetup_Click(object sender, EventArgs e) { ParallelSetupDialog dialog = new ParallelSetupDialog(this.m_portAddress); if (dialog.ShowDialog() == DialogResult.OK) { this.m_portAddress = dialog.PortAddress; } }
public void Setup() { ParallelSetupDialog dialog = new ParallelSetupDialog(this.m_portAddress); if (dialog.ShowDialog() == DialogResult.OK) { this.m_portAddress = dialog.PortAddress; this.m_setupData.SetInteger(this.m_setupNode, "address", this.m_portAddress); } }
private void buttonPortSetup_Click(object sender, EventArgs e) { ParallelSetupDialog dialog = new ParallelSetupDialog(this.m_portAddress); if (dialog.ShowDialog() == DialogResult.OK) { this.m_portAddress = dialog.PortAddress; } }
public void Setup() { ParallelSetupDialog dialog = new ParallelSetupDialog(this.m_portAddress); if (dialog.ShowDialog() == DialogResult.OK) { this.m_portAddress = dialog.PortAddress; this.m_setupData.SetInteger(this.m_setupNode, "port", this.m_portAddress); } }