예제 #1
0
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     ColorStopForm form = new ColorStopForm(values, -1);
     if (form.ShowDialog(this) == DialogResult.OK)
     {
         UpdatePreview();
         UpdateState();
     }
 }
예제 #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();
            }
        }
예제 #3
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            ColorStopForm form = new ColorStopForm(values, -1);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                UpdatePreview();
                UpdateState();
            }
        }
예제 #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();
     }
 }