public adminDropUser(DataTable dt, adminDropUser adu, adminFirst aF, int initNum) { InitializeComponent(); this.dt = dt; aFirst = aF; aUser = adu; firstValue = initNum; noOfRows = dt.Rows.Count; int showDataNumber = 8; nlbl = new Label[showDataNumber]; ulbl = new Label[showDataNumber]; rbtn = new RadioButton[showDataNumber]; storeComponents(); showData(); }
public adminDropCourse(DataTable dt, adminDropCourse aCourse, adminFirst aFirst, int init) { InitializeComponent(); this.dt = dt; this.aFirst = aFirst; this.aCourse = aCourse; this.firstValue = init; noOfRows = dt.Rows.Count; int showDataNumber = 8; nlbl = new Label[showDataNumber]; clbl = new Label[showDataNumber]; rbtn = new RadioButton[showDataNumber]; cinfo = new courseInfo[showDataNumber]; storeComponents(); showData(dt, firstValue, noOfRows); }