Hello.
I have experience in LabView but just studying C#.
I've got a question on implementation of the openSession_Click() method of theMainForm class.
Why the next code is used:
mbSession = (MessageBasedSession)ResourceManager.GetLocalManager().Open(sr.ResourceName); ?
Why not just:
mbSession = new MessageBasedSession(sr.ResourceName); ?
Just for reference:
public class MainForm : System.Windows.Forms.Form
{
private MessageBasedSession mbSession;
..................
}
Thank you.