Пример #1
0
        /// <summary>
        /// Opens up info about all addons on the computer. User is able to change addon here.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addonTile_Click(object sender, EventArgs e)
        {
            AddonsForm addonsForm = new AddonsForm(this);

            // ShowDialog() will not allow the user to go back to parent dialog until this dialog is dealt with.
            // Show() still allows the user to go back to the parent dialog.
            addonsForm.ShowDialog();
        }
Пример #2
0
 /// <summary>
 /// Opens up info about all addons on the computer. User is able to change addon here.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void addonTile_Click(object sender, EventArgs e)
 {
     AddonsForm addonsForm = new AddonsForm(this);
     // ShowDialog() will not allow the user to go back to parent dialog until this dialog is dealt with.
     // Show() still allows the user to go back to the parent dialog.
     addonsForm.ShowDialog();
 }