예제 #1
0
        /// <summary>
        /// Show Messages Client
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnMessages_Click(object sender, EventArgs e)
        {
            //If Messages Form is not instantiated, Instantiate
            if ((_messagesForm == null) || (!_messagesForm.Visible))
            {
                _messagesForm = new MessagesForm {
                    MdiParent = this
                }
            }
            ;

            _messagesForm.Show();
            _messagesForm.Focus();
        }
예제 #2
0
        /// <summary>
        /// Show Messages Client
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnMessages_Click(object sender, EventArgs e)
        {
            //If Messages Form is not instantiated, Instantiate
            if ((_messagesForm == null) || (!_messagesForm.Visible))
                _messagesForm = new MessagesForm { MdiParent = this };

            _messagesForm.Show();
            _messagesForm.Focus();
        }