예제 #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();
 }