I am calling method1 and method2
see if the below is a problem
method1()
{
CustomHeaderTextControl customHeaderTextControl = null;
if (m_customHeaderTextControlList.Count >= m_numberOfAlerts)
{
customHeaderTextControl =
m_customHeaderTextControlList[0] as CustomHeaderTextControl;
customHeaderTextControl1_Ticked(customHeaderTextControl, null);
}
CustomHeaderTextControl customHeaderTextControl1 = new CustomHeaderTextControl();
customHeaderTextControl1.BackColor = System.Drawing.Color.Transparent;
m_customHeaderTextControlList.Add(customHeaderTextControl1);
if (m_customHeaderTextControlList.Count >= 0)
customHeaderTextControl1.Location =
new System.Drawing.Point(0, ((m_customHeaderTextControlList.Count - 1)*80) + 16);
else
customHeaderTextControl1.Location = new System.Drawing.Point(0, 16);
_splashPanel.Size = new Size(325, ((m_customHeaderTextControlList.Count) * 80) + 16);
customHeaderTextControl1.Name = "customHeaderTextControl1";
customHeaderTextControl1.Size = new System.Drawing.Size(325, 80);
_splashPanel.Controls.Add(customHeaderTextControl1);
customHeaderTextControl1.setLabelHeaderAndMessage(header, message, foreColor);
_splashPanel.Refresh();
}
method1()
{
splashPanel.SuspendAutoCloseMode();
splashPanel.DesktopAlignment = SplashAlignment.SystemTray;
splashPanel.TimerInterval = -1;
splashPanel.AnimationSpeed = 10;
splashPanel.ShowAsTopMost = true;
splashPanel.AllowMove = false;
splashPanel.AllowResize = false;
splashPanel.ShowSplash(pt.empty, null, false);
splashPanel.Invalidate();
}
>Hi Sean,
Thank you for the update.
I am afraid that I was not able to reproduce the mentioned issue. I have created a simple sample to test this issue which is available in the following link:
http://websamples.syncfusion.com/samples/Tools.Windows/F76677/main.htmPlease refer to the above sample, if the issue still exists, could you please let me know what I have missed out, so that I could work out in depth to trace the cause of the issue and provide you a solution?
Please let me know if any concerns.
Regards,
Hema