Problem between VSTA form and AML status line

Problem between VSTA form and AML status line

Hello
Unfortunately I found out a problem between VSTA form and AML status line.
I developed windows form using VSTA. I want to open this form as ModalDialog. I am using function MyForm.ShowDialog(). In this case AML status line changed TopMost status and sometimes don’t visible, AML status line window is under Scada Runtime window.
It’s serious problem for us. How is it possible to decide this problem?
C# Code:

public void Macro_OBR_information()
{
OBR_form obr_form = new OBR_form();
obr_form.cur_proj = this.Project;
zenOn.IVariable res_var = this.Project.Variables().Item("Name of the response variable");
obr_form.ka_name = res_var.get_Value(0).ToString();
obr_form.ShowDialog();
}


This is a migrated post! Originally posted on 03.06.2011 by user altera. Please be aware that information can be outdated.