protected override void AddObject() { SetEntity(); proxy.AddPO(PO); SaveDetail(); this.DialogResult = System.Windows.Forms.DialogResult.OK; }