void wc_ws_selectDBTreeCompleted(object sender, ws_selectDBTreeCompletedEventArgs e) { if (e.Result != null) { DBTree DBTREE = new DBTree(); DBTREE.DBDATA = e.Result.DBDATA; Node NNODE = new Node(DBTREE.GetAnyNodeinDB); tree_chooseType.ItemsSource = NNODE.chldlist; } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_SELECT, e.OpStatus.ToString()); w.Show(); } }
void wc_ws_selectDBTreeCompleted(object sender, ws_selectDBTreeCompletedEventArgs e) { if (e.Result != null) { DBTree DBTREE = new DBTree(); DBTREE.DBDATA = e.Result.DBDATA; Node NNODE = new Node(DBTREE.GetAnyNodeinDB); tree_chooseType.ItemsSource = NNODE.chldlist; } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_SELECT, e.OpStatus.ToString()); w.Show(); } }