private void linkLblTransportInfo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { FmTransport fmTransport = new FmTransport(this); if (fmTransport.ShowDialog() == DialogResult.OK) { ctlTransport.SelectedItem = null; ctlTransport.SelectedItem = fmTransport.SelectedTransport; } }
private void btnTransport_Click(object sender, EventArgs e) { FmTransport fmTransport = new FmTransport(employee); fmTransport.ShowDialog(); }