示例#1
0
 private void buttonProfileManager_Click(object sender, EventArgs e)
 {
     using (var dialog = new VixenPlusRoadie()) {
         if (dialog.ShowDialog() == DialogResult.OK)
         {
             PopulateProfileList();
         }
     }
 }
示例#2
0
 private void buttonSetupPlugins_Click(object sender, EventArgs e)
 {
     using (var dialog = new VixenPlusRoadie(_eventSequence, true)) {
         dialog.ShowDialog();
     }
 }
示例#3
0
 private void buttonSetupPlugins_Click(object sender, EventArgs e)
 {
     using (var dialog = new VixenPlusRoadie(_eventSequence, true)) {
         dialog.ShowDialog();
     }
 }
示例#4
0
 private void buttonProfileManager_Click(object sender, EventArgs e)
 {
     using (var dialog = new VixenPlusRoadie()) {
         if (dialog.ShowDialog() == DialogResult.OK) {
             PopulateProfileList();
         }
     }
 }
示例#5
0
 private void manageToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var dialog = new VixenPlusRoadie()) {
         if (dialog.ShowDialog() == DialogResult.OK) {
             NotifyAll(Notification.ProfileChange);
         }
     }
 }
示例#6
0
 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;
         }
     }
 }
示例#7
0
 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);
         }
     }
 }