Ejemplo n.º 1
0
        protected void cmdChangeApplication_Click(object sender, EventArgs e)
        {
            // Create new action selection dialog
            Common.UI.Dialogs.ApplicationDialog appDialog = new Common.UI.Dialogs.ApplicationDialog(Applications.ApplicationManager.Instance);

            // Make sure the user wants to commit his changes
            if (appDialog.ShowDialog() == DialogResult.OK)
            {
                //// Get configured information from dialog
                //lblApplicationName.Text = appDialog.ApplicationName;
                //lblMatchUsing.Text = appDialog.MatchUsing.ToString();
                //lblMatchString.Text = appDialog.MatchString;
                //lblUseRegex.Text = appDialog.IsRegularExpression ? "Yes" : "No";
                //pbApplicationIcon.Image = appDialog.ApplicationIcon;
            }
        }
Ejemplo n.º 2
0
        protected void cmdChangeApplication_Click(object sender, EventArgs e)
        {
            // Create new action selection dialog
            Common.UI.Dialogs.ApplicationDialog appDialog = new Common.UI.Dialogs.ApplicationDialog(Applications.ApplicationManager.Instance);

            // Make sure the user wants to commit his changes
            if (appDialog.ShowDialog() == DialogResult.OK)
            {
                //// Get configured information from dialog
                //lblApplicationName.Text = appDialog.ApplicationName;
                //lblMatchUsing.Text = appDialog.MatchUsing.ToString();
                //lblMatchString.Text = appDialog.MatchString;
                //lblUseRegex.Text = appDialog.IsRegularExpression ? "Yes" : "No";
                //pbApplicationIcon.Image = appDialog.ApplicationIcon;
            }
        }