private void SetQuestionAsAnswered() { StaveObjectsPosition sop = new StaveObjectsPosition(226, 30); Tuple <Point, Point, Point>[] notesPosition = sop.DrawInterval(this.ActualInterval, 240); this.ChangePositionOfNote(notesPosition[0], this.Note1, this.LedgerLine1, this.SharpFlatSymbol1, this.ActualInterval.Tone1); this.ChangePositionOfNote(notesPosition[1], this.Note2, this.LedgerLine2, this.SharpFlatSymbol2, this.ActualInterval.Tone2); this.Tone1Index.Value = ""; Note1.Style.Add("cursor", "default"); LedgerLine1.Style.Add("cursor", "default"); SharpFlatSymbol1.Style.Add("cursor", "default"); }
private void NextExercise() { this.clearAnswerLabels(); this.ChangeBackgroundOfAnswerButtons("#8C8C8C"); IntervalGenerator intervalGenerator = new IntervalGenerator(); ActualInterval = intervalGenerator.GenerateIntervalWithTones(); StaveObjectsPosition sop = new StaveObjectsPosition(226, 30); Tuple <Point, Point, Point>[] notesPosition = sop.DrawInterval(ActualInterval, 240); this.ChangePositionOfNote(notesPosition[0], this.Note1, this.LedgerLine1, this.SharpFlatSymbol1, this.ActualInterval.Tone1); this.ChangePositionOfNote(notesPosition[1], this.Note2, this.LedgerLine2, this.SharpFlatSymbol2, this.ActualInterval.Tone2); }
private void SetQuestionAsAnswered() { StaveObjectsPosition sop = new StaveObjectsPosition(226, 30); Tuple<Point, Point, Point>[] notesPosition = sop.DrawInterval(this.ActualInterval, 240); this.ChangePositionOfNote(notesPosition[0], this.Note1, this.LedgerLine1, this.SharpFlatSymbol1, this.ActualInterval.Tone1); this.ChangePositionOfNote(notesPosition[1], this.Note2, this.LedgerLine2, this.SharpFlatSymbol2, this.ActualInterval.Tone2); this.Tone1Index.Value = ""; Note1.Style.Add("cursor", "default"); LedgerLine1.Style.Add("cursor", "default"); SharpFlatSymbol1.Style.Add("cursor", "default"); }
private void NextExercise() { this.clearAnswerLabels(); this.ChangeBackgroundOfAnswerButtons("#8C8C8C"); IntervalGenerator intervalGenerator = new IntervalGenerator(); ActualInterval = intervalGenerator.GenerateIntervalWithTones(); StaveObjectsPosition sop = new StaveObjectsPosition(226, 30); Tuple<Point, Point, Point>[] notesPosition = sop.DrawInterval(ActualInterval, 240); this.ChangePositionOfNote(notesPosition[0], this.Note1, this.LedgerLine1, this.SharpFlatSymbol1, this.ActualInterval.Tone1); this.ChangePositionOfNote(notesPosition[1], this.Note2, this.LedgerLine2, this.SharpFlatSymbol2, this.ActualInterval.Tone2); }