Ejemplo n.º 1
0
        /// <summary>
        ///     Shows a metro message box containing code in it.
        /// </summary>
        /// <param name="title">The title of the Message Box</param>
        /// <param name="code">The code to display</param>
        public static void Show(string title, string code)
        {
            var msgBox = new MessageBoxCode(title, code)
            {
                Owner = App.AssemblyStorage.AssemblySettings.HomeWindow,
                WindowStartupLocation = WindowStartupLocation.CenterOwner
            };

            msgBox.ShowDialog();
        }
        private static void MessageVoid()
        {
            var form = new MessageBoxCode();

            form.Show();
        }