void AddColumn(string name, Widget widget, int tag, int width)
        {
            ColumnPersistence p;

            if (mColumnPersistence.TryGetValue(tag, out p))
            {
                width          = p.Width;
                widget.Visible = p.Visible;
            }
            mColumnControl.AddColumn(name, widget, tag, width);
        }
Esempio n. 2
0
 void AddColumn(string name, Widget widget, int tag, int width)
 {
     if (mPersistence != null)
     {
         foreach (VirtualListPersistence p in mPersistence.Persistence)
         {
             if (p.Tag == tag)
             {
                 width = p.Width;
                 break;
             }
         }
     }
     mColumnControl.AddColumn(name, widget, tag, width);
 }