コード例 #1
0
 public GroupCadreUC(SculpturePanel panel, Library.GroupCadreModel group, Library.CadreModel cm) : base(panel, cm)
 {
     InitializeComponent();
     this.group = new Library.GroupCadreModel();
     foreach (CadreUC cadre in panel.Controls)
     {
         if (this.group.Exists(cadre.TabIndex))
         {
             this.inner.Add(cadre);
             this.parent.Controls.Remove(cadre);
             this.Controls.Add(cadre);
         }
     }
 }
コード例 #2
0
 public CadreUC(SculpturePanel panel)
 {
     InitializeComponent();
     this.buttonDown           = false;
     this.cm                   = new Library.CadreModel();
     this.BackColor            = this.cm.Background;
     this.ForeColor            = this.cm.Foreground;
     this.BorderColor          = this.cm.Border;
     base.Left                 = this.cm.Height;
     base.Top                  = this.cm.HeightPosition;
     this.Width                = this.cm.Width;
     this.Height               = this.cm.Height;
     this.cm.PropertyChanged  += cm_PropertyChanged;
     this.parent               = panel;
     this.parent.RatioChanged += parent_RatioChanged;
     this.Size                 = new Size(this.cm.Width, this.cm.Height);
 }
コード例 #3
0
 public GroupCadreUC(SculpturePanel panel) : base(panel)
 {
     InitializeComponent();
     this.inner = new List <CadreUC>();
     this.group = new Library.GroupCadreModel();
 }