public static bool DocumentationWithLinkClickOpen(string text, string link, string linkName = null, string tip = "", int buttonSize = 20) { if (tip.IsNullOrEmpty()) { tip = icon.Question.GetDescription(); } if (DocumentationClickOpen(tip, buttonSize)) { FullWindowService.popUpText = text; FullWindowService.InitiatePopUp(); FullWindowService.relatedLink = link; FullWindowService.relatedLinkName = linkName.IsNullOrEmpty() ? link : linkName; return(true); } return(false); }
public static void AreYouSureOpen(Action action, string header = "", string text = "") { if (header.IsNullOrEmpty()) { header = Msg.AreYouSure.GetText(); } if (text.IsNullOrEmpty()) { text = Msg.ClickYesToConfirm.GetText(); } FullWindowService.areYouSureFunk = action; FullWindowService.popUpText = text; FullWindowService.popUpHeader = header; FullWindowService.InitiatePopUp(); }