private void newToolStripButton_Click(object sender, EventArgs e) { var newContractView = new NewContractView(); newContractView.ShowObject(null); newContractView.ShowDialog(); }
private void newToolStripButton_Click(object sender, EventArgs e) { var nct = new NewContractView(); nct.CustomerView = this; nct.Customer = _customer; nct.ShowObject(null); nct.ShowDialog(); }