예제 #1
0
 public static void TestConnection()
 {
     try
     {
         db_connect.Open();
         db_connect.Close();
         CstmMsgBx.Show("Database connect successfully");
     }
     catch (Exception exc)
     {
         CstmMsgBx.Error(exc.ToString(), 4000);
     }
 }
예제 #2
0
        private void TextBox_LostFocus(object sender, RoutedEventArgs e)
        {
            var name = TreeView.SelectedItem.ToString();

            CstmMsgBx.Show(name.ToString());
        }