示例#1
0
        private void UpdateParentDeal(bool add)
        {
            DealsHandler handler
                = new DealsHandler(add ? Node.Parent as CustomNode : Node.Parent.Parent as CustomNode);

            handler.UpdateDealsCost();
            handler.UpdateTextOfNode();
        }
示例#2
0
        private void addDealBtn_Click(object sender, EventArgs e)
        {
            DealsHandler handler = new DealsHandler(treeView);

            handler.Add();
        }