Example #1
0
 public static void InputBox(
     string question,
     string yesLabel,
     string yesMessengerContent,
     string yesMessengerIdentifier,
     string noLabel,
     string noMessengerContent,
     string noMessengerIdentifier,
     string metroIcon      = "Information",
     double translateXIcon = -20,
     double translateYIcon = -20,
     double scaleIcon      = 2,
     GeneralSystemWideMessage msgToPassAlong = null,
     string imageIcon = ""
     )
 {
     InputBoxService.Show(
         question,
         "",
         new SolidColorBrush(Colors.Black),
         new SolidColorBrush(new Color()
     {
         R = 236, G = 236, B = 236, A = 255
     }),
         new SolidColorBrush(Colors.Black),
         height: 260,
         width: 580,
         metroIcon: metroIcon,
         scaleIcon: scaleIcon,
         translateXIcon: translateXIcon,
         translateYIcon: translateYIcon,
         yesLabel: yesLabel,
         yesMessengerContent: yesMessengerContent,
         yesMessengerIdentifier: yesMessengerIdentifier,
         noLabel: noLabel,
         noMessengerContent: noMessengerContent,
         noMessengerIdentifier: noMessengerIdentifier,
         msgToPassAlong: msgToPassAlong,
         imageIcon: imageIcon
         );
 }
Example #2
0
        public void InputBox(
            string question,
            string yesLabel,
            string yesMessengerContent,
            string yesMessengerIdentifier,
            string noLabel,
            string noMessengerContent,
            string noMessengerIdentifier,
            string metroIcon      = "Information",
            double translateXIcon = -20,
            double translateYIcon = -20,
            double scaleIcon      = 2,
            GeneralSystemWideMessage msgToPassAlong = null,
            string imageIcon = ""
            )
        {
            LoggingService.LogInformation(question, "BaseUserPage.InputBoxYesNo");

            InputBoxService.Show(
                question,
                "",
                new SolidColorBrush(Colors.Black),
                AccentColor,
                new SolidColorBrush(Colors.White),
                height: 260,
                width: 580,
                metroIcon: metroIcon,
                scaleIcon: scaleIcon,
                translateXIcon: translateXIcon,
                translateYIcon: translateYIcon,
                yesLabel: yesLabel,
                yesMessengerContent: yesMessengerContent,
                yesMessengerIdentifier: yesMessengerIdentifier,
                noLabel: noLabel,
                noMessengerContent: noMessengerContent,
                noMessengerIdentifier: noMessengerIdentifier,
                msgToPassAlong: msgToPassAlong,
                imageIcon: imageIcon
                );
        }