Ejemplo n.º 1
0
        private void NotifyiconDoubleclicked(object sender, EventArgs e)
        {
            m_sequencewindow = m_sequencewindow ?? new SequenceWindow();

            if (m_sequencewindow.IsVisible)
            {
                m_sequencewindow.Hide();
            }
            else
            {
                m_sequencewindow.Show();
                m_sequencewindow.Activate();
            }
        }
Ejemplo n.º 2
0
        private void NotifyiconDoubleclicked(object sender, EventArgs e)
        {
            if ((e as WinForms.MouseEventArgs).Button == WinForms.MouseButtons.Left)
            {
                m_sequencewindow = m_sequencewindow ?? new SequenceWindow();

                if (m_sequencewindow.IsVisible)
                {
                    m_sequencewindow.Hide();
                }
                else
                {
                    m_sequencewindow.Show();
                    m_sequencewindow.Activate();
                }
            }
        }
Ejemplo n.º 3
0
        private void NotifyiconDoubleclicked(object sender, EventArgs e)
        {
            if ((e as WinForms.MouseEventArgs).Button == WinForms.MouseButtons.Left)
            {
                if (m_sequencewindow == null)
                {
                    m_sequencewindow = new SequenceWindow();
                    WinForms.Integration.ElementHost.EnableModelessKeyboardInterop(m_sequencewindow);
                }

                if (m_sequencewindow.IsVisible)
                {
                    m_sequencewindow.Hide();
                }
                else
                {
                    m_sequencewindow.Show();
                }
            }
        }