public void ChangeViewWeeklyPlan() { changeCount++; if (changeCount % 2 == 1) { if (weeklyPlanDetail == null) { UserControllCall.Add(Grd_Content, weeklyPlanDetail = new UCWeeklyPlanDetail()); } else { UserControllCall.Add(Grd_Content, weeklyPlanDetail); } } else { if (ucWeeklyPlan == null) { UserControllCall.Add(Grd_Content, ucWeeklyPlan = new UCWeeklyPlan()); } else { UserControllCall.Add(Grd_Content, ucWeeklyPlan); } } }
private void BtnCheckList_Click(object sender, RoutedEventArgs e) { if (UCCheckList == null) { UserControllCall.Add(Grd_Content, UCCheckList = new UCCheckList()); } else { UserControllCall.Add(Grd_Content, UCCheckList); } }
private void BtnBackup_Click(object sender, RoutedEventArgs e) { if (uCBackup == null) { UserControllCall.Add(Grd_Content, uCBackup = new UCBackup()); } else { UserControllCall.Add(Grd_Content, uCBackup); } }
private void BtnReport_Click(object sender, RoutedEventArgs e) { if (uCReport == null) { UserControllCall.Add(Grd_Content, uCReport = new UCReport()); } else { UserControllCall.Add(Grd_Content, uCReport); } }
private void MenuSettings_Click(object sender, RoutedEventArgs e) { if (uCSettings == null) { UserControllCall.Add(Grd_Content, uCSettings = new UCSettings()); } else { UserControllCall.Add(Grd_Content, uCSettings); } }
private void BtnWorkDone_Click(object sender, RoutedEventArgs e) { if (uCWorkDone == null) { UserControllCall.Add(Grd_Content, uCWorkDone = new UCWorkDone()); } else { UserControllCall.Add(Grd_Content, uCWorkDone); } }
private void Btn_WeeklyPlan_Click(object sender, RoutedEventArgs e) { if (ucWeeklyPlan == null) { UserControllCall.Add(Grd_Content, ucWeeklyPlan = new UCWeeklyPlan()); } else { UserControllCall.Add(Grd_Content, ucWeeklyPlan); } }
private void Btn_toDo_Click(object sender, RoutedEventArgs e) { if (uCTodoList == null) { UserControllCall.Add(Grd_Content, uCTodoList = new UCTodoList()); } else { UserControllCall.Add(Grd_Content, uCTodoList); } }