private void SimpleChat_Load(object sender, EventArgs e)
        {
            ///Initializing the user List
            UserList = new List <STCSession>();

            ///Create the STCApplicationId from the app constants
            STCApplicationId appId = new STCApplicationId(new Guid(API_KEY_ID), API_KEY_SECRET, APP_TYPE_ID);

            appId.ApiId       = new Guid(API_KEY_ID);
            appId.ServiceName = "SimpleChat";

            ///Initializing the Responder object
            Responder = new STCResponder(appId, true);
            Responder.InviteReceived       += new InviteReceivedHandler(SC_InviteReceived);
            Responder.CommunicationStarted += new CommunicationStartedHandler(SC_CommunicationStarted);

            Responder.Start();

            ///Initializing the Initiator object
            Initiator = new STCInitiator(appId);
            Initiator.InviteeResponded     += new InviteeRespondedHandler(SC_InviteResponded);
            Initiator.CommunicationStarted += new CommunicationStartedHandler(SC_CommunicationStarted);

            btnInviteReq.Enabled = true;
        }
        private void SimpleChat_Load(object sender, EventArgs e)
        {
            ///Initializing the user List
            UserList = new List<STCSession>();

            ///Create the STCApplicationId from the app constants
            STCApplicationId appId = new STCApplicationId(new Guid(API_KEY_ID), API_KEY_SECRET, APP_TYPE_ID);
            appId.ApiId = new Guid(API_KEY_ID);
            appId.ServiceName = "SimpleChat";

            ///Initializing the Responder object
            Responder = new STCResponder(appId, true);
            Responder.InviteReceived += new InviteReceivedHandler(SC_InviteReceived);
            Responder.CommunicationStarted += new CommunicationStartedHandler(SC_CommunicationStarted);

            Responder.Start();

            ///Initializing the Initiator object
            Initiator = new STCInitiator(appId);
            Initiator.InviteeResponded += new InviteeRespondedHandler(SC_InviteResponded);
            Initiator.CommunicationStarted += new CommunicationStartedHandler(SC_CommunicationStarted);

            btnInviteReq.Enabled = true;
        }