Auto cleanup

This commit is contained in:
Flamefire committed 2013-04-18 15:09:21 +02:00
1 parent 2dc2ac5c37
commit 74396eda2f
142 files changed
+2859 -273

No files matched your search

+32 -13
View File
@@ -1,4 +1,23 @@
using System;
#region license
// /*
// This file is part of Vocaluxe.
//
// Vocaluxe is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Vocaluxe is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Vocaluxe. If not, see <http://www.gnu.org/licenses/>.
// */
#endregion
using System;
using System.Collections.Generic;
namespace VocaluxeLib.Menu.SingNotes
@@ -111,35 +130,35 @@ namespace VocaluxeLib.Menu.SingNotes
public CNote(int startBeat, int duration, int tone, string text)
: this()
{
this.StartBeat = startBeat;
this.Duration = duration;
this.Tone = tone;
StartBeat = startBeat;
Duration = duration;
Tone = tone;
NoteType = ENoteType.Normal;
this.Text = text;
Text = text;
}
public CNote(int startBeat, int duration, int tone, string text, bool hit)
: this()
{
this.StartBeat = startBeat;
this.Duration = duration;
this.Tone = tone;
StartBeat = startBeat;
Duration = duration;
Tone = tone;
NoteType = ENoteType.Normal;
this.Text = text;
this.Hit = hit;
Text = text;
Hit = hit;
}
public CNote(int startBeat, int duration, int tone, string text, ENoteType noteType)
: this(startBeat, duration, tone, text)
{
this.NoteType = noteType;
NoteType = noteType;
}
public CNote(int startBeat, int duration, int tone, string text, bool hit, ENoteType noteType)
: this(startBeat, duration, tone, text)
{
this.NoteType = noteType;
this.Hit = hit;
NoteType = noteType;
Hit = hit;
}
#endregion Constructors