private void dgvSoftware_MouseDoubleClick(object sender, MouseEventArgs e) { if (currentSoftware != null) { SoftwareView sv = new SoftwareView(currentSoftware, myCustomer); sv.Show(this); } }
private void btnNew_Click(object sender, EventArgs e) { SoftwareView sv = new SoftwareView(myCustomer.AddSoftware(), myCustomer); sv.Show(); }