예제 #1
0
파일: Groups.cs 프로젝트: ATOM-Games/Fon
 public void AddComponent(Component c)
 {
     c.Location = new System.Drawing.Point(0, 0);
     c.Name     = "ABC";
     c.Size     = new System.Drawing.Size(100, 100);
     c.TabIndex = 10;
     c.SetD(this);
     ComponentsList.Add(c);
     this.Controls.Add(c);
     GC.Collect();
 }
예제 #2
0
 public void AddTo(ComponentsList components)
 {
     components.Add(_name, _description, _factory);
 }
 public void AddTo(ComponentsList components)
 {
     components.Add("Filesystem", "Performs various filesystem operations", this);
 }