private void ShowRealtorTable(object param) { if (Api.ActivateTab("id_name_realtorstable")) return; RealtorsTableView view = new RealtorsTableView(); view.Name = "id_name_realtorstable"; view.ToolTip = "Таблица сотрудников"; view.DataContext = new RealtorsTableViewModel(1); // FIX: id Api.AddTabItem(view); }
private void ShowRealtorTable(object param) { if (Api.ActivateTab("id_name_realtorstable")) { return; } RealtorsTableView view = new RealtorsTableView(); view.Name = "id_name_realtorstable"; view.ToolTip = "Таблица сотрудников"; view.DataContext = new RealtorsTableViewModel(1); // FIX: id Api.AddTabItem(view); }