void barBtnRoleUsr_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var vw = new NewView(); vw.EditMode = Ultra.Web.Core.Enums.EnViewEditMode.Edit; Lanucher.InitView(vw); vw.ShowDialog(); gridView1_FocusedRowChanged(sender, null); }