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