示例#1
0
 static void Main()
 {
     try
     {
         ChatForm form = new ChatForm();
         System.Windows.Forms.Application.Run(form);
     }
     catch (Exception ex)
     {
         User.ErrorLog(ex.ToString());
     }
 }
示例#2
0
 public MainWindow()
 {
     DataContext = new ChatForm();
     InitializeComponent();
 }