Exemple #1
0
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     ColorStopForm form = new ColorStopForm(values, -1);
     if (form.ShowDialog(this) == DialogResult.OK)
     {
         UpdatePreview();
         UpdateState();
     }
 }
Exemple #2
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            ColorStopForm form = new ColorStopForm(values, listViewStops.SelectedItems[0].Index + 1);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                UpdatePreview();
                UpdateState();
            }
        }
Exemple #3
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            ColorStopForm form = new ColorStopForm(values, -1);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                UpdatePreview();
                UpdateState();
            }
        }
Exemple #4
0
 private void buttonEdit_Click(object sender, EventArgs e)
 {
     ColorStopForm form = new ColorStopForm(values, listViewStops.SelectedItems[0].Index + 1);
     if (form.ShowDialog(this) == DialogResult.OK)
     {
         UpdatePreview();
         UpdateState();
     }
 }