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(); }
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); }
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); }
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); }
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); }
public User() { InitializeComponent(); if (Program.IsInDesignMode()) { return; } VSReactive <int> .Subscribe("menu", e => BtnsContent.SelectedIndex = e); OnClick(btnCastelMIMI); }
public supMenu() { InitializeComponent(); if (Program.IsInDesignMode()) { return; } VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e); pnChe.Height = 35; }
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; } }
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); }
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"); }
private void MainTab_Click(object sender, EventArgs e) { VSReactive <int> .SetState("MainTab", int.Parse(((Control)sender).Tag.ToString())); }
public Tab_page() { InitializeComponent(); Hider_pnl.Height = 33; VSReactive <int> .Subscribe("menu", e => tabControl1.SelectedIndex = e); }
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())); }