Ejemplo n.º 1
0
        public void ResponseSkinChanged(Control control, I3SkinType type)
        {
            TreeView tree = control as I3TreeView;

            tree.BeginUpdate();
            try
            {
                switch (type)
                {
                case I3SkinType.黑:
                    tree.BackColor = I3SkinChangedManager.DefaultBackColor_Dark;
                    break;

                case I3SkinType.深蓝:
                    tree.BackColor = I3SkinChangedManager.DefaultBackColor_DarkBlue;
                    break;

                default:
                    tree.BackColor = I3SkinChangedManager.DefaultBackColor_Blue;
                    break;
                }
            }
            finally
            {
                tree.EndUpdate();
            }
        }
Ejemplo n.º 2
0
        public void ResponseSkinChanged(Control control, I3SkinType type)
        {
            II3SkinChangedResponser responser = GetResponser(control.GetType());

            if (responser != null)
            {
                responser.ResponseSkinChanged(control, type);
            }

            foreach (Control subControl in control.Controls)
            {
                ResponseSkinChanged(subControl, type);
            }
        }
Ejemplo n.º 3
0
        public void ResponseSkinChanged(Control control, I3SkinType type)
        {
            I3Table table = control as I3Table;

            switch (type)
            {
            case I3SkinType.黑:
                table.BackColor = I3SkinChangedManager.DefaultBackColor_Dark;
                break;

            case I3SkinType.深蓝:
                table.BackColor = I3SkinChangedManager.DefaultBackColor_DarkBlue;
                break;

            default:
                table.BackColor = I3SkinChangedManager.DefaultBackColor_Blue;
                break;
            }
        }
Ejemplo n.º 4
0
 public void ResponseSkinChanged(Control control, I3SkinType type)
 {
 }