void copyPortsToolStripMenuItem_Click(object sender, EventArgs e) { var port = new PortServices(Repository); port.CopyPortsGui(); } #endregion