у меня в примере на C# присутствует такая вещь. Кусок кода из примера:
private void buttonStartStop_Click(object sender,EventArgs e)
{
int res;
if(m_server==IntPtr.Zero)
{
res=cipherlabtcpCreate(ref m_server);
Alert("cipherlabtcpCreate",res);
res=cipherlabtcpSetEventMessage(m_server,this.Handle,WM_APP,IntPtr.Zero);
Alert("cipherlabtcpSetEventMessage",res);
res=cipherlabtcpSetProperties(m_server,m_port,checkBoxSaveMethod.Checked?1:0,checkBoxDebug.Checked?1:0);
Alert("cipherlabtcpSetProperties",res);
res=cipherlabtcpStart(m_server);
Alert("cipherlabtcpStart",res);
MessageBoxResult(res);
}
void Alert(string msg)
{
listBoxLog.Items.Add(System.String.Format("{0}. {1}",++m_alertcount,msg));
}
void Alert(string msg,int code)
{
Alert(System.String.Format("{0} (code: {1})",msg,code));
}
как в аксапте можно представить Alert, к примеру Alert("cipherlabtcpCreate",res) и есть ли такая возможность в аксапте как в C# Alert?
__________________
Axapta 3.0 SP6 Build 1951
|