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; } }
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; } }