Exemplo n.º 1
0
        public void CancelPollBuddy()
        {
            Trace.WriteLine("Entering RTCPresence.CancelPollBuddy");

            this.pollDialog = null;
            this.pollpresenceMenuItem.Enabled = true;
        }
Exemplo n.º 2
0
        void pollpresenceMenuItem_Click(object sender, System.EventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.pollpresenceMenuItem_Click");;

            this.pollpresenceMenuItem.Enabled = false;
            pollDialog = new PollDialog("Poll Contact", this);
            pollDialog.Show();
        }
Exemplo n.º 3
0
        void signoutMenuItem_Click(object sender, System.EventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.signoutMenuItem_Click");

            if (this.pollDialog != null)
            {
                this.pollDialog.Close();
                this.pollDialog = null;
            }
            this.presenceCore.DoLogOff();
        }
Exemplo n.º 4
0
        protected override void OnClosing(CancelEventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.OnClosing");

            base.OnClosing(e);

            if (this.pollDialog != null)
            {
                this.pollDialog.Close();
                this.pollDialog = null;
            }

            if (this.presenceCore.DoShutdown())
            {
                // The RTC client object is preparing to shutdown.
                e.Cancel = true;
                this.Hide();
            }
        }
Exemplo n.º 5
0
        public void CancelPollBuddy()
        {
            Trace.WriteLine("Entering RTCPresence.CancelPollBuddy");

            this.pollDialog = null;
            this.pollpresenceMenuItem.Enabled = true;
        }
Exemplo n.º 6
0
        void signoutMenuItem_Click(object sender, System.EventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.signoutMenuItem_Click");

            if (this.pollDialog != null)
            {
                this.pollDialog.Close();
                this.pollDialog = null;
            }
            this.presenceCore.DoLogOff();
        }
Exemplo n.º 7
0
        void pollpresenceMenuItem_Click(object sender, System.EventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.pollpresenceMenuItem_Click");;

            this.pollpresenceMenuItem.Enabled = false;
            pollDialog = new PollDialog("Poll Contact", this);
            pollDialog.Show();
        }
Exemplo n.º 8
0
        protected override void OnClosing(CancelEventArgs e)
        {
            Trace.WriteLine("Entering RTCPresence.OnClosing");

            base.OnClosing(e);

            if (this.pollDialog != null)
            {
                this.pollDialog.Close();
                this.pollDialog = null;
            }

            if (this.presenceCore.DoShutdown())
            {
                // The RTC client object is preparing to shutdown.
                e.Cancel = true;
                this.Hide();

            }
        }