Example #1
0
        private void MDFButton_Click(object sender, RoutedEventArgs e)
        {
            DataTemplate test       = new DataTemplate();
            Action       showMethod = DisplayToWindow;

            MDFChildWindowHelper.ShowCWindow(this.msgwin, test, showMethod);

            //MDFChildWindowHelper.ShowMessage(msgwin, "阿克苏飞拉伸法啊;浪费就阿里斯蒂芬骄傲了是否的骄傲是浪费骄傲是浪费就爱上;两地分居爱上;罗的付款就爱上;率大幅度叫撒;辅料卷爱上;法律所");

            //msgwin.Title = "系统提示";
            //msgwin.Content = "";
            //msgwin.Shown = true;
        }
Example #2
0
 public void DisplayToWindow()
 {
     MessageBox.Show("xxx");
     MDFChildWindowHelper.CloseCWindow(this.msgwin);
 }