Exemplo n.º 1
0
 private void Addcinstructorbtn_Click(object sender, EventArgs e)
 {
     newsections = new AddNewSections(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     newsections.Size = this.Size;
     this.Controls.Add(newsections);
     newsections.BringToFront();
 }
Exemplo n.º 2
0
 public SectionsPanel()
 {
     InitializeComponent();
     sectionsdatas = new List <SectionsDataPanel>();
     newsections   = new AddNewSections(this)
     {
         Anchor = AnchorStyles.Top | AnchorStyles.Bottom
     };
     sections = Task.Run(() => Connector.connections[0].GetSections()).Result;
     Initialize();
 }