示例#1
0
        private void newToolStripButton_Click(object sender, EventArgs e)
        {
            var newContractView = new NewContractView();

            newContractView.ShowObject(null);
            newContractView.ShowDialog();
        }
示例#2
0
        private void newToolStripButton_Click(object sender, EventArgs e)
        {
            var nct = new NewContractView();

            nct.CustomerView = this;
            nct.Customer     = _customer;
            nct.ShowObject(null);
            nct.ShowDialog();
        }