Пример #1
0
        protected override void OnViewControlsCreated()
        {
            base.OnViewControlsCreated();
            // Access and customize the target View control.

            if (View is DetailView)
            {
                if (View.ObjectSpace.IsNewObject(View.CurrentObject))
                {
                    NegocioAdmin.IniciaVendedor(View.CurrentObject as Vendedor);
                }
            }
        }