Ejemplo n.º 1
0
 private void SortableTileMenu_Load(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(ConfigurationAddress))
     {
         SORTER = new MiMFa_ControlSorter(ConfigurationAddress, this);
         SORTER.ControlsSort(this);
     }
     if (!LockState)
     {
         MiMFa_Coloristic.AllChildsControlColorChange(this, ColorOrder, ColorRangeList);
     }
 }
Ejemplo n.º 2
0
 private void CheckStateTile()
 {
     if (!string.IsNullOrEmpty(ConfigurationAddress) && Sortable)
     {
         SORTER = new MiMFa_ControlSorter(ConfigurationAddress, this);
         SORTER.ControlsSort(this);
     }
     if (ColorOrder != MiMFa_SelectFromRange.Null || ColorRange != MiMFa_Coloristic.ColorRange.Null)
     {
         MiMFa_Coloristic.AllChildsControlColorChange(this, ColorOrder, ColorRangeList);
     }
     if (!LockState)
     {
         MiMFa_Regularization.ChildControlsLayout(this, LayoutMode);
     }
 }
Ejemplo n.º 3
0
        private void TopTabMenu_Load(object sender, EventArgs e)
        {
            if (!LockState)
            {
                MiMFa_Coloristic.AllChildsControlColorChange(this, ColorOrder, ColorRangeList);
            }

            for (int i = 0; i < this.Controls.Count; i++)
            {
                this.Controls[i].Click += new EventHandler((object objs, EventArgs eae) =>
                {
                    for (int j = 0; j < this.Controls.Count; j++)
                    {
                        if (this.Controls[j] is SlideButton)
                        {
                            ((SlideButton)this.Controls[j]).BackgroundImage = BackgroundImageItems;
                            ((SlideButton)this.Controls[j]).ThisSelected    = false;
                        }
                    }
                    ((SlideButton)objs).BackgroundImage = Properties.Resources.BackV3;
                    ((SlideButton)objs).ThisSelected    = true;
                });
            }
        }