protected override void OnClosing(CancelEventArgs e) { customerService.Close(); customerService = null; base.OnClosing(e); }
protected override void OnLoad(EventArgs e) { customerService = new CustomerServiceManager(); base.OnLoad(e); }