public Essay() { InitializeComponent(); slider.Value = 80; CellList = TemplateWPF.BuildTemplate(TemplateEssay.Words, 0, StkTemplate); //HighlightEssayType(); }
public SumRetell() { InitializeComponent(); slider.Value = 80; CellList = TemplateWPF.BuildTemplate(TemplateSumRetell.Words, 0, StkTemplate, TemplateSumRetell.TemplateGaps); HighlightEssayType(); }
public DescImg() { InitializeComponent(); slider.Value = 80; CellList = TemplateWPF.BuildTemplate(TemplateDescImgy.Words, 0, StkTemplate, TemplateDescImgy.TemplateGaps); HighlightEssayType(); }
private void Filter_Click(object sender, RoutedEventArgs e) { int lastDays = 99; if (!txtFilter.Text.IsEmpty() && txtFilter.Text.IsDigitsOnly() && txtFilter.Text != "0") { lastDays = Convert.ToInt32(txtFilter.Text); } CellList = TemplateWPF.BuildTemplate(TemplateEssay.Words, 0, StkTemplate); TemplateWPF.ShowScoredTemplate(CellList, lastDays); btnFinish.IsEnabled = false; lblScore.Visibility = Visibility.Hidden; }
private void BtnStart_Click(object sender, RoutedEventArgs e) { if (cb_33.IsChecked.Value) { percentageTxt = 33; } else { percentageTxt = 100 - slider.Value; } CellList = TemplateWPF.BuildTemplate(TemplateEssay.Words, percentageTxt, StkTemplate); //HighlightEssayType(); btnFinish.IsEnabled = true; lblScore.Visibility = Visibility.Hidden; }
private void BtnStart_Click(object sender, RoutedEventArgs e) { if (cb_33.IsChecked.Value) { percentageTxt = 33; } else { percentageTxt = 100 - slider.Value; } imgTemplateType.Source = new BitmapImage(new Uri(TemplateDescImgy.GetRndType1Img())); CellList = TemplateWPF.BuildTemplate(TemplateDescImgy.Words, percentageTxt, StkTemplate, TemplateDescImgy.TemplateGaps); HighlightEssayType(); btnFinish.IsEnabled = true; lblScore.Visibility = Visibility.Hidden; }