public BubblesGenerator(UserControlEdit userControl) { this._userControl = userControl; this.rowHeight = 50; rows = new Control[noOfQuestions + 1]; noOfChoices = 5; Model = new int[noOfQuestions, noOfChoices]; }
private void NavigateToManualModelEditor(Control value) { UserControlEdit m = new UserControlEdit(); m.Dock = DockStyle.Fill; Form1.instance().MarkPanelContainer().Controls.Add(m); Form1.instance().MarkPanelContainer().Controls["UserControlEdit"].BringToFront(); Form1.instance().MarkPanelContainer().Controls["PanelSide"].BringToFront(); }
private void BunifuButton1_Click(object sender, EventArgs e) { UserControlEdit m = new UserControlEdit(); NavigateToManualModelEditor(m); }