Say I have an UltraExplorarBar on the left in the MainForm. On the bar there's 3 items, customer A, B, and C, and the MainForm acts as MDI Parent. In the project I have a CustomerForm so that if you click on the item on the bar, a customer form pops up on the right in MainForm. The problem is, how can I ensure that there's only one CustomerForm pops up for customer A, if user clicks the customer A icon serveral times? It looks like that I can't use singleton pattern on the CustomerForm becuase serveral customers share the same form object.
What whould be the best way to implement the? Is there any build-in thing in Infragistics that can help with this?
Use this method ..may be usefull for u ...i created based on form text ...replace with form name (MdiChildren[i].name) ...like that..
if (ActivateThisChild(formText) == false) then open form logic ...
---------------------------------------------------------------------------------
{
Boolean formSetToMdi = false;
// loop for all the mdi children
// find the Mdi child with the same name as your form
// if found just activate it
}
// if the given form not found as mdi child return false.
else