Ejemplo n.º 1
0
 void LatelySellTree_AfterSelect(object sender, TreeViewEventArgs e)
 {
     if (m_LatelySell.LatelySellTree.SelectedNode == null)
     {
         return;
     }
     if (m_LatelySell.LatelySellTree.SelectedNode.Tag.ToString() == "0")
     {//所有最近销售
         LoadDataNew(Foundation.LatelyAllSell(m_SystemUser.SellDay));
     }
     else
     {//单笔销售
         LoadDataNew(Foundation.GetSellTimeData(m_LatelySell.LatelySellTree.SelectedNode.Text, m_SystemUser.SellDay));
     }
 }