private void ShowMainView(object param)
        {
            if (Api.ActivateTab("id_name_mycompany"))
            {
                return;
            }

            MyAgencyView _agencyView = new MyAgencyView();

            _agencyView.Name        = "id_name_mycompany";
            _agencyView.ToolTip     = "Моя компания";
            _agencyView.DataContext = new MyCompanyViewModel();

            Api.AddTabItem(_agencyView);
        }
        private void ShowMainView(object param)
        {
            if (Api.ActivateTab("id_name_mycompany"))
                return;

            MyAgencyView _agencyView = new MyAgencyView();

            _agencyView.Name = "id_name_mycompany";
            _agencyView.ToolTip = "Моя компания";
            _agencyView.DataContext = new MyCompanyViewModel();

            Api.AddTabItem(_agencyView);
        }