Ejemplo n.º 1
0
        private void addAllList(MyListItem myListItem)
        {
            Control p = myListItem.Parent;

            foreach (Control child in p.Controls)
            {
                MyInteraction.listClick(child);
            }
        }
Ejemplo n.º 2
0
        public MyAreaPanel(FlowLayoutPanel area, string name = "")
        {
            this.FlowDirection = FlowDirection.TopDown;
            this.WrapContents  = false;
            this.Size          = new Size(167, 19);
            this.Margin        = new Padding(0, 0, 0, 13);

            Title            = new MyListItem(area, true);
            Title.LostFocus += titleLoseFocus;
            foreach (Control child in Title.Controls)
            {
                child.MouseDown += titleMouseDown;
            }
            Tb = Title.Tb;

            if (name != "")
            {
                title.ItemName = name;
                tb.Text        = name;
            }

            this.Controls.Add(Title);
        }