private void menuPrevious_Click(object sender, EventArgs e) { using (var mul = new Dialogs.MultiProcess(Core.CurrentOperation.RewindStackCount)) { if (mul.ShowDialog() == DialogResult.OK) { Core.CurrentOperation.SetRewind(mul.GetValue()); } } }
private void menuSetMulti_Click(object sender, EventArgs e) { if (multiMode == MultipleMode.NumericMulti) { multiMode = MultipleMode.None; menuSetMulti.Checked = false; UpdateAdditionalString(); } else { using (var mul = new Dialogs.MultiProcess(Core.CurrentOperation.Data.ElementsLength - Core.CurrentOperation.Index)) { if (mul.ShowDialog() == DialogResult.OK) { multiMode = MultipleMode.NumericMulti; setMultiValue = mul.GetValue(); menuSetMulti.Checked = true; menuSetFolder.Checked = false; UpdateAdditionalString(); } } } }