// ЗДЕСЬ НАЧИНАЕТСЯ МУТЬ ПО ПЕРЕВОДУ ФОКУСА, НА НОВОГО ПАЦИЕНТА СОЗДАННОГО ПРИ ИМПОРТЕ protected void Application_DashboardViewCreated(object sender, DashboardViewCreatedEventArgs e) { if (e.View.Id == "Workspace") { e.View.ControlsCreated += new EventHandler(AfterPatientImportView_ControlsCreated); } ((XafApplication)sender).DashboardViewCreated -= new EventHandler<DashboardViewCreatedEventArgs>(Application_DashboardViewCreated); //Application.DashboardViewCreated -= new EventHandler<DashboardViewCreatedEventArgs>(Application_DashboardViewCreated); }
private void Application_DashboardViewCreated(object sender, DashboardViewCreatedEventArgs e) { //if (e.View.Id == "Workspace") // e.View.ControlsCreated += new EventHandler(view_ControlsCreated); }