Exemplo n.º 1
0
        private void CmdPrepareIcons()
        {
            if (LocalData.IconLine is null)
            {
                LocalData.IconLine     = LocalTreeFunctions.CmdCreateIconLine();
                LocalData.IconItem     = LocalTreeFunctions.CmdCreateIconItem();
                LocalData.IconLastItem = LocalTreeFunctions.CmdCreateIconLastItem();

                LocalData.IconMinus          = LocalTreeFunctions.CmdCreateIconMinusOrPlus(true);
                LocalData.IconMinusTop       = LocalTreeFunctions.CmdCreateIconMinusOrPlusTop(true);
                LocalData.IconMinusBottom    = LocalTreeFunctions.CmdCreateIconMinusOrPlusBottom(true);
                LocalData.IconMinusTopBottom = LocalTreeFunctions.CmdCreateIconMinusOrPlusTopBottom(true);

                LocalData.IconPlus          = LocalTreeFunctions.CmdCreateIconMinusOrPlus(false);
                LocalData.IconPlusTop       = LocalTreeFunctions.CmdCreateIconMinusOrPlusTop(false);
                LocalData.IconPlusBottom    = LocalTreeFunctions.CmdCreateIconMinusOrPlusBottom(false);
                LocalData.IconPlusTopBottom = LocalTreeFunctions.CmdCreateIconMinusOrPlusTopBottom(false);
            }
        }