Esempio n. 1
0
        private void OpenAuthorizationPanel()
        {
            ContainerTabs.Activate("Authorization");

            HideAllContainers();
            ucContainreAuthorization.Visible = true;

            pnlContainer.BringToFront();

            cmdLocation.BringToFront();

            if (Global.Pilots.Selected != null)
            {
                ucContainreAuthorization.RefreshPilotInfo();
            }

            ResizeWindow();

            ucContainreAuthorization.BackColor = Color.Black;
            ucContainreAuthorization.Location  = new Point(pnlContainer.Location.X, pnlContainer.Location.Y);
            ucContainreAuthorization.BringToFront();

            cmdAuthirizationPanel.IsTabControlButton = true;
            cmdAuthirizationPanel.BringToFront();
            cmdAuthirizationPanel.Refresh();
        }
Esempio n. 2
0
        private void OpenAuthorizationPanel()
        {
            ContainerTabs.Activate("Authorization");

            if (Global.Pilots.Selected != null)
            {
                _containerAuthorization.RefreshPilotInfo();
            }
        }