private void BtnTutor_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            PagCentral.SetPage("TutGeneral");
            ListarTutores();
        }
        private void BtnEstudiante_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            PagCentral.SetPage("EstGeneral");
            ListarEstudiantesHabilitados();
        }
Пример #3
0
        private void Menu_btn_Click(object sender, EventArgs e)
        {
            // VS REACTIVE EN MENU
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            Paginado.Paneles(Panel_content, Animacion_txt_title, Titulo_window);
        }
Пример #4
0
        private void Delete_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            VSReactive <int> .SetState("ContentControllerPages", int.Parse(((Control)sender).Tag.ToString()));

            Alert.AlertCreation("WorkItems Delete Section", AlertType.warning);
        }
Пример #5
0
        public tabMenu()
        {
            InitializeComponent();
            if (Program.IsDesignMode())
            {
                return;
            }

            VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e);
        }
        public frmSubMenu()
        {
            InitializeComponent();
            if (Program.IsInDesignMode())
            {
                return;
            }
            hider.Height = 28;

            VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e);
        }
Пример #7
0
        public subMenu()
        {
            InitializeComponent();
            if (Program.IsInDesignMode())
            {
                return;
            }

            //https://www.youtube.com/watch?v=VJoC8_rUQUY&t=64s
            VSReactive <int> .Subscribe("menu", e => tab1.SelectedIndex = e);
        }
Пример #8
0
        public User()
        {
            InitializeComponent();
            if (Program.IsInDesignMode())
            {
                return;
            }
            VSReactive <int> .Subscribe("menu", e => BtnsContent.SelectedIndex = e);

            OnClick(btnCastelMIMI);
        }
Пример #9
0
        public supMenu()
        {
            InitializeComponent();

            if (Program.IsInDesignMode())
            {
                return;
            }
            VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e);

            pnChe.Height = 35;
        }
Пример #10
0
        private void btnMenu_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            BtnsContent.Visible = false;
            AnimatedContentOnOffSide.ShowSync(BtnsContent);
            ResetColorButtons();
            int btn = int.Parse(((Control)sender).Tag.ToString());

            switch (btn)
            {
            case 0:
                OnClick(btnCastelMIMI);
                break;

            case 1:
                OnClick(btnRestaurant);
                break;

            case 2:
                OnClick(btnWine);
                break;

            case 3:
                OnClick(btnResort);
                break;

            case 4:
                OnClick(btnEvents);
                break;

            case 5:
                OnClick(btnGallery);
                break;

            case 6:
                OnClick(btnProgram);
                break;

            case 7:
                OnClick(btnContact);
                break;

            case 8:
                OnClick(btnAboutUS);
                break;
            }
        }
Пример #11
0
        public subMenu()
        {
            InitializeComponent();
            if (Program.isInDesignMode())
            {
                return;
            }

            try
            {
                // Controller Init
                informationParser = new InformationParser();
                log            = informationParser.Init_Log();
                serverOperator = informationParser.Init_ServerOperation(log);
                mailSender     = informationParser.Init_MailSender(log);

                // Server information setting to the Upload page
                ServerCollectionInfoLabel.Text  = informationParser.CurrentTfsCollectionName;
                ServerTeamProjectInfoLabel.Text = informationParser.CurrentTeamProjectName;
            }
            catch (Exception)
            {
                ServerCollectionInfoLabel.Text  = "Fail";
                ServerTeamProjectInfoLabel.Text = "Fail";
                UploadActiveButton.Text         = "Inactive";
                UploadActiveButton.ForeColor    = Color.Red;
                Alert.AlertCreation("Configure your Settings!", AlertType.info);
            }

            //BarLabel init part
            UploadBar.LabelVisible                  = true;
            OneElemDeleteBar.LabelVisible           = true;
            MoreElemDeleteBar.LabelVisible          = true;
            FileDeleteProgressBar.LabelVisible      = true;
            AllServerDeleteProgressBar.LabelVisible = true;

            VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e);

            VSReactive <int> .Subscribe("ContentControllerPages", e => ContentControllerPages.SelectedIndex = e);
        }
Пример #12
0
 private void sideMenu_Click(object sender, EventArgs e)
 {
     VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));
 }
        private void SideMenu_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            //pagCentral.SetPage("DocGeneral");
        }
Пример #14
0
 private void MainTab_Click(object sender, EventArgs e)
 {
     VSReactive <int> .SetState("MainTab", int.Parse(((Control)sender).Tag.ToString()));
 }
Пример #15
0
 public Tab_page()
 {
     InitializeComponent();
     Hider_pnl.Height = 33;
     VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e);
 }
Пример #16
0
        private void Info_Click(object sender, EventArgs e)
        {
            VSReactive <int> .SetState("menu", int.Parse(((Control)sender).Tag.ToString()));

            VSReactive <int> .SetState("ContentControllerPages", int.Parse(((Control)sender).Tag.ToString()));
        }