AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.12.2007, 19:50   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
gatesasbait: Showing Database name of current AOS in AX 4.0x title bar
Источник: http://gatesasbait.spaces.live.com/B...B9F5!157.entry
==============

 
Good morning,
 
In prior versions of Ax (such as 2.5) you could see the currently running Database name in the title bar of your client. To have this in Dynamics Ax 4.0x, add this code to method 'workspaceWindowCreated' in class 'Info'.
 
void workspaceWindowCreated(int _hWnd)
{
    SqlSystem sqlSystem = new SqlSystem();
    ;
 
    if (sqlSystem.createLoginProperty())
    {
        winApi::setWindowText(_hWnd,
            strfmt("%1, Configuration: %2",
                winApi::getWindowText(_hWnd), sqlSystem.loginDatabase()));
    }
}


Источник: http://gatesasbait.spaces.live.com/B...B9F5!157.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
gatesasbait: Forcing specific layers to compare in Ax 4.0x Blog bot DAX Blogs 0 18.12.2007 19:50
gatesasbait: About local Dynamics Ax 4.0x installations on Windows XP Blog bot DAX Blogs 0 28.11.2007 06:32
Arijit Basu: AX 4 AOS Basics: [Level 100] Blog bot DAX Blogs 0 18.11.2007 14:30
Dynamics AX: Returning the Current SQL Server, Database, and Configuration Blog bot DAX Blogs 0 28.10.2006 16:40

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:26.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.