Example #1
0
 private void cmsViewNavigator_Click(object sender, EventArgs e)
 {
     if (Navigator == null || !Settings.Default.NavigatorOpened)
     {
         Navigator = new NavigatorF1(this);
         Navigator.Show();
         Navigator.Top  = this.Top;
         Navigator.Left = (this.Left + this.Width);
     }
     else if (Settings.Default.NavigatorOpened && Navigator != null)
     {
         Navigator.Focus();
     }
 }
Example #2
0
        private void bNavigator_MouseUp(object sender, MouseEventArgs e)
        {
            bNavigator.BackgroundImage = Resources.button_remote_hover;

            if (Settings.Default.NavigatorOpened && Navigator != null)
            {
                Navigator.Show();
                Navigator.Focus();
                this.Focus();
            }
            else
            {
                cmsViewNavigator_Click(null, null);
            }
        }
Example #3
0
 private void cmsViewNavigator_Click(object sender, EventArgs e)
 {
     if (Navigator == null || !Settings.Default.NavigatorOpened)
     {
         Navigator = new NavigatorF1(this);
         Navigator.Show();
         Navigator.Top = this.Top;
         Navigator.Left = (this.Left + this.Width);
     }
     else if (Settings.Default.NavigatorOpened && Navigator != null)
         Navigator.Focus();
 }