public UserWindow() { InitializeComponent(); username.Content = Global_Methods.username; user_model = user_model.Return_info(Global_Methods.username); id_diary = queries.ReturnUserIDdiary(user_model.ID_User); CalculateStartAndEndDate(); RefreshChart(); }
public Add_Product() { InitializeComponent(); user_model = user_model.Return_info(Global_Methods.username); Fill_data(); textBoxes = new List <TextBox>() { txt_carbohydrates, txt_fat, txt_kcal, txt_protein }; }