internal static bool ShowVerifyCode(MemoryStream memorystreamPng, Window win, out string enterCode) { VerifyCodeWindow window = new VerifyCodeWindow(null, memorystreamPng) { Owner = win }; window.ShowDialog(); enterCode = window.VerifyCodeString; return(window.DialogResult == true); }
internal static bool ShowVerifyCode(MemoryStream memorystreamPng, Window win, out string enterCode) { VerifyCodeWindow window = new VerifyCodeWindow(null, memorystreamPng) { Owner = win }; window.ShowDialog(); enterCode = window.VerifyCodeString; return (window.DialogResult == true); }