private void AddButtons(ButtonsCollection control, int idx) { for (int i = 0; i < control.ButtonsCount; i++) { var panel = new ButtonPanel(); panel.SetInfo(control, i + 1, idx); AddPanel(panel); RegiseterLink(panel.GetLink()); } }
private void AddButtons(ButtonsCollection control, int idx) { for (int i = 0; i < control.ButtonsCount; i++) { var panel = new ButtonPanel(); panel.SetInfo(control, i + 1, idx); AddPanel(panel); RegiseterLink(panel.GetLink()); } }