Exemplo n.º 1
0
        private void PlannersListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            PlannerWindow planner = new PlannerWindow(this.Participant, new Planner(PlannersListBox.SelectedItem.ToString(), GetContent(PlannersListBox.SelectedItem.ToString())));

            planner.Show();
            planner.Color();
        }
Exemplo n.º 2
0
        private void CreatePlannerButton_Click(object sender, RoutedEventArgs e)//obsługa plannerDescription
        {
            CreatePlanner(CreatePlannerTextBox.Text, null, Participant.Participant_Id);
            PlannerWindow planner = new PlannerWindow(this.Participant, new Planner(CreatePlannerTextBox.Text, GetContent(CreatePlannerTextBox.Text)));

            planner.Show();
            AdjustPlannerListBox();
            CreatePlannerTextBox.Clear();
        }