private void Window_Loaded(object sender, RoutedEventArgs e)
{
ibmTerminalControl1.InitInstance(System.Environment.GetEnvironmentVariable("USERPROFILE") + @"\Documents\Micro Focus\InfoConnect\demo.rd3x");
}
private void IbmTerminalControl1_TerminalInitializedEvent(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
// Check if error occurred during the terminal initialization
if (e.Error != null)
{
MessageBox.Show("Error during terminal initialization step: " + e.Error); return;
}
}