コード例 #1
0
        public void CancelPollBuddy()
        {
            Trace.WriteLine("Entering RTCPresence.CancelPollBuddy");

            this.pollDialog = null;
            this.pollpresenceMenuItem.Enabled = true;
        }
コード例 #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();
        }
コード例 #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();
        }
コード例 #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();
            }
        }
コード例 #5
0
        public void CancelPollBuddy()
        {
            Trace.WriteLine("Entering RTCPresence.CancelPollBuddy");

            this.pollDialog = null;
            this.pollpresenceMenuItem.Enabled = true;
        }
コード例 #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();
        }
コード例 #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();
        }
コード例 #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();

            }
        }