private void colorItem_Click(object sender, RoutedEventArgs e)
{
var b = ((Themes.Theme)panelTheme.SelectedItem).AccentName;
var c = ((Themes.Theme)panelTheme.SelectedItem).Accent;
if (panelTheme.SelectedItem is Themes.DefaultTheme) {
b = ((Themes.DefaultTheme)panelTheme.SelectedItem).AccentName;
c = ((Themes.DefaultTheme)panelTheme.SelectedItem).Accent;
}
var a = new Setting.GridColor(this, b, c);
MeCore.MainWindow.gridOthers.Children.Clear();
MeCore.MainWindow.gridOthers.Children.Add(a);
var ani = new DoubleAnimationUsingKeyFrames();
ani.KeyFrames.Add(new LinearDoubleKeyFrame(0, TimeSpan.FromSeconds(0)));
ani.KeyFrames.Add(new LinearDoubleKeyFrame(1, TimeSpan.FromSeconds(0.2)));
MeCore.MainWindow.gridOthers.BeginAnimation(OpacityProperty, ani);
}
internal void ChangeColor(string color)