Esempio n. 1
0
        private void buttonEditor_Click(object sender, EventArgs e)
        {
            DataProfileForm f = new DataProfileForm();

            if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                PopulateProfileList();
            }
        }
Esempio n. 2
0
        private void profilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DataProfileForm f = new DataProfileForm();

            if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // Do something...
                MessageBox.Show("You must re-start Vixen for the changes to take effect.", "Profiles Changed", MessageBoxButtons.OK);
            }
        }
Esempio n. 3
0
        private void profilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DataProfileForm f = new DataProfileForm();

            if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // Do something...
                //messageBox Arguments are (Text, Title, No Button Visible, Cancel Button Visible)
                MessageBoxForm.msgIcon = SystemIcons.Information;                 //this is used if you want to add a system icon to the message form.
                var messageBox = new MessageBoxForm("You must re-start Vixen for the changes to take effect.", "Profiles Changed", false, false);
                messageBox.ShowDialog();
            }
        }
Esempio n. 4
0
 private void buttonEditor_Click(object sender, EventArgs e)
 {
     DataProfileForm f = new DataProfileForm();
     if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         PopulateProfileList();
 }
Esempio n. 5
0
 private void profilesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DataProfileForm f = new DataProfileForm();
     if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) {
         // Do something...
         //messageBox Arguments are (Text, Title, No Button Visible, Cancel Button Visible)
         MessageBoxForm.msgIcon = SystemIcons.Information; //this is used if you want to add a system icon to the message form.
         var messageBox = new MessageBoxForm("You must re-start Vixen for the changes to take effect.", "Profiles Changed", false, false);
         messageBox.ShowDialog();
     }
 }
Esempio n. 6
0
 private void profilesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DataProfileForm f = new DataProfileForm();
     if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) {
         // Do something...
         MessageBox.Show("You must re-start Vixen for the changes to take effect.", "Profiles Changed", MessageBoxButtons.OK);
     }
 }