/// <summary>
 /// Configures the menu item to launch a URL with the specified action (dialog or new window)
 /// </summary>
 /// <param name="url"></param>
 /// <param name="method"></param>
 private void SetActionUrl(string url, ActionUrlMethod method = ActionUrlMethod.Dialog)
 {
     AdditionalData[ActionUrlKey]       = url;
     AdditionalData[ActionUrlMethodKey] = method;
 }
Пример #2
0
 /// <summary>
 /// Configures the menu item to launch a URL with the specified action (dialog or new window)
 /// </summary>
 /// <param name="url"></param>
 /// <param name="method"></param>
 private void SetActionUrl(string url, ActionUrlMethod method = ActionUrlMethod.Dialog)
 {
     AdditionalData[ActionUrlKey] = url;
     AdditionalData[ActionUrlMethodKey] = method;
 }
 public LegacyUrlAction(string url, string dialogTitle, ActionUrlMethod actionMethod)
 {
     Url          = url;
     ActionMethod = actionMethod;
     DialogTitle  = dialogTitle;
 }
 public LegacyUrlAction(string url, string dialogTitle, ActionUrlMethod actionMethod)
 {
     Url = url;
     ActionMethod = actionMethod;
     DialogTitle = dialogTitle;
 }