Ejemplo n.º 1
0
        // ----- ----- //

        #endregion

        #endregion

        #region Dialogs

        void TextMessageDialog(string Title, string Content, bool DarkMode = false)
        {

            /*

            MessagedialogWindow dialog = null;
            bool DarkListnerNeeded = true;

            if (webcamimagePage.Visibility == Visibility.Visible)
            {
                dialog = new MessagedialogWindow(Title, Message, true);
                DarkListnerNeeded = false;
            }

            if (DarkListnerNeeded)
            {
                if (DarkMode == true)
                    dialog = new MessagedialogWindow(Title, Message, true);
                else
                    dialog = new MessagedialogWindow(Title, Message);
            }

            dialog.Owner = this;
            dialog.ShowDialog();

            */


            var dialog = new Popups.MessageDialog();

            dialog.Title = Title;
            dialog.Content = Content;

            dialog.ShowDialog();
        }
Ejemplo n.º 2
0
        void TextMessageDialog(string Title, string Content, bool DarkMode = false)
        {
            var dialog = new Popups.MessageDialog();

            dialog.Title = Title;
            dialog.Content = Content;

            dialog.ShowDialog();
        }