private void tbAdminDays4_Click(object sender, EventArgs e) { AdminDays d = new AdminDays((int) numDaysCycle.Value); d.ShowDialog(); D4Days = d.Days(); string strOutD = ""; for ( int i = 0; i < D4Days.Count; i++ ) { strOutD += D4Days[i] + ", "; } //strOutD += "]"; //MessageBox.Show(strOutD); tbAdminDays4.Text = strOutD; }
private void tbAdminDays2_Click(object sender, EventArgs e) { AdminDays b = new AdminDays((int) numDaysCycle.Value); b.ShowDialog(); D2Days = b.Days(); string strOutB = ""; for ( int i = 0; i < D2Days.Count; i++ ) { strOutB += D2Days[i] + ", "; } //strOutB += "]"; //MessageBox.Show(strOutB); tbAdminDays2.Text = strOutB; }
private void tbAdminDays3_Click(object sender, EventArgs e) { AdminDays c = new AdminDays((int) numDaysCycle.Value); c.ShowDialog(); D3Days = c.Days(); string strOutC = ""; for ( int i = 0; i < D3Days.Count; i++ ) { strOutC += D3Days[i] + ", "; } //strOutC += "]"; //MessageBox.Show(strOutC); tbAdminDays3.Text = strOutC; }
private void tbAdminDays1_Click(object sender, EventArgs e) { // MessageBox.Show(sender.ToString()); // MessageBox.Show(e.ToString()); AdminDays a = new AdminDays((int) numDaysCycle.Value); a.ShowDialog(); D1Days = a.Days(); string strOutA = ""; for ( int i = 0; i < D1Days.Count; i++ ) { strOutA += D1Days[i] + ", "; } //strOutA += "]"; tbAdminDays1.Text = strOutA; }