public override bool Setup() { BlinkyLinkySetup setup = new BlinkyLinkySetup(_data); if (setup.ShowDialog() == DialogResult.OK) { if (setup.Address != null) _data.Address = setup.Address; _data.Port = setup.Port; _data.Stream = setup.Stream; CloseConnection(); return true; } return false; }
public override bool Setup() { BlinkyLinkySetup setup = new BlinkyLinkySetup(_data); if (setup.ShowDialog() == DialogResult.OK) { if (setup.Address != null) { _data.Address = setup.Address; } _data.Port = setup.Port; _data.Stream = setup.Stream; CloseConnection(); return(true); } return(false); }