示例#1
0
        void Alert(string alert, string title)
        {
            AlertWindow aw = new AlertWindow();

            aw.Owner = MW;
            aw.alertLabel.Content = alert;
            aw.Title = title;
            aw.ShowDialog();
        }
示例#2
0
        void Alert(string alert)
        {
            AlertWindow aw = new AlertWindow();

            aw.Owner = MW;
            aw.alertLabel.Content = alert;
            //aw.WindowStyle = WindowStyle.None;
            aw.ShowDialog();
        }