private void ButtonUpClick(object sender, EventArgs e)
{
int index = this.listBoxColors.SelectedIndex;
if (index <= 0) return;
this.listBoxColors.DataSource = null;
Color color = Editor.Settings.Charting.Colors[index % Editor.Settings.Charting.Colors.Count];
Editor.Settings.Charting.Colors.RemoveAt(index);
Editor.Settings.Charting.Colors.Insert(index - 1, color);
this.RefreshColors();
this.listBoxColors.SelectedIndex = index - 1;
}