Exemplo n.º 1
0
        private void treningi_Click(object sender, RoutedEventArgs e)
        {
            Grid panel = getPanel(grid);

            panel = new TrainingPage().drawGrid(panel);
            panel = new TrainingPage().drawComponent(panel);
        }
Exemplo n.º 2
0
 public AddNewTraining(TrainingPage page)
 {
     this.page = page;
     InitializeComponent();
     foreach (Tag tag in DataBase.trainingTag)
     {
         this.wybierz_tag.Items.Add(tag);
     }
     for (int i = 0; i < 7; i++)
     {
         exercises[i]       = new List <Exercise>();
         exercisesAmount[i] = new List <int>();
     }
     createTabControl();
 }