private void buttonProfileManager_Click(object sender, EventArgs e) { using (var dialog = new VixenPlusRoadie()) { if (dialog.ShowDialog() == DialogResult.OK) { PopulateProfileList(); } } }
private void buttonSetupPlugins_Click(object sender, EventArgs e) { using (var dialog = new VixenPlusRoadie(_eventSequence, true)) { dialog.ShowDialog(); } }
private void manageToolStripMenuItem_Click(object sender, EventArgs e) { using (var dialog = new VixenPlusRoadie()) { if (dialog.ShowDialog() == DialogResult.OK) { NotifyAll(Notification.ProfileChange); } } }
private void profileToolStripLabel_Click(object sender, EventArgs e) { if (_sequence.Profile != null) { using (var dialog = new VixenPlusRoadie(GetContextProfile(_sequence.Profile.FileName))) { if ((dialog.ShowDialog() != DialogResult.OK)) { return; } SetProfile(_sequence.Profile.FileName); } } else { using (var dialog = new VixenPlusRoadie(_sequence, true)) { if ((dialog.ShowDialog() != DialogResult.OK)) { return; } UpdateGroups(); IsDirty = true; } } }
private void createFromSequenceToolStripMenuItem_Click(object sender, EventArgs e) { using (var dialog = new VixenPlusRoadie(GetContextProfile())) { if ((dialog.ShowDialog() == DialogResult.OK) && (MessageBox.Show(Resources.AttachToNewProfile, Vendor.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)) { SetProfile(dialog.ProfileFileName); } } }