private void skipButton_Click(object sender, RoutedEventArgs e) { Centers cn = new Centers(); this.Close(); cn.ShowDialog(); }
private void continueButton_Click(object sender, RoutedEventArgs e) { EventCalculation.stage = stageComboBox.Text; EventCalculation.homelight = homeLightComboBox.Text; EventCalculation.homelight = homeLightDurationCombBox.Text; EventCalculation.streetlight = streetLightComboBox.Text; EventCalculation.streetlightDeuration = streetlightDeuration.Text; EventCalculation.gate = gateTextbox.Text; EventCalculation.planaquin = planaquinComboBox.Text; EventCalculation.totalDecorationCost(stageComboBox.Text, homeLightComboBox.Text, homeLightDurationCombBox.Text, streetLightComboBox.Text, streetlightDeuration.Text, gateTextbox.Text, planaquinComboBox.Text); Centers cn = new Centers(); this.Close(); cn.ShowDialog(); }