www.pudn.com > wpfwin7.rar > MyComputer.xaml.cs, change:2012-05-10,size:841b


´╗┐using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Windows; 
using System.Windows.Controls; 
using System.Windows.Data; 
using System.Windows.Documents; 
using System.Windows.Input; 
using System.Windows.Media; 
using System.Windows.Media.Imaging; 
using System.Windows.Shapes; 
 
namespace MyWindow 
{ 
    /// <summary> 
    /// Interaction logic for MyComputer.xaml 
    /// </summary> 
    public partial class MyComputer : Window 
    { 
        public MyComputer() 
        { 
            InitializeComponent(); 
        } 
 
        private void Window_Loaded(object sender, RoutedEventArgs e) 
        { 
             
        } 
 
        private void Label_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) 
        { 
            this.Close(); 
        } 
    } 
}