public void RemoveGroup(Group group)
 {
     //_schema.Groups.Remove(group);
     //_schema.Bands.Remove(group);
     _model.Remove(group);
     CheckVerticalScolling();
     Invalidate();
 }
 public void AddGroup(Group group)
 {
     //_schema.Groups.Add(group);
     //_schema.Bands.Add(group);
     _model.Add(group);
     CheckVerticalScolling();
     Invalidate();
 }
 private void addGroupToolStripButton_Click(object sender, EventArgs e)
 {
     int count = designPanel.ReportSchema.Groups.Count;
     Group group = new Group("Group"+count.ToString());
     designPanel.AddGroup(group);
     //designPanel.Invalidate();
     ShowGroups();
 }
Example #4
0
 public Band(BandEnum bandType, Group group)
 {
     m_bandType = bandType;
     this.Group = group;
 }
 internal void Remove(Group group)
 {
     Groups.Remove(group);
     Bands.Remove(group);
 }
 internal void Add(Group group)
 {
     Groups.Add(group);
     Bands.Add(group);
 }