private void comboBoxTemplate_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            if (comboBoxTemplate.Text == "None")
            {
                // Reset chart appearance
                chart1.Serializer.Content = SerializationContents.Appearance;
                chart1.Serializer.Reset();
            }
            else
            {
                // Get template path
                MainForm mainForm      = (MainForm)this.ParentForm;
                string   imageFileName = mainForm.CurrentSamplePath;
                imageFileName += "\\" + comboBoxTemplate.Text + ".xml";

                // Load template
                chart1.Serializer.IsResetWhenLoading = false;
                chart1.LoadTemplate(imageFileName);
            }
        }