Пример #1
0
        private void Setting_Load(object sender, EventArgs e)
        {
            ad_ServicesBLL bLL = new ad_ServicesBLL();

            if (bLL.SelectManagebll(Keepinformation.AdminNo) == 1)
            {
                change_enable(false);
                dtptimestart.Value = Keepinformation.StartTime;
                dtptimeend.Value   = Keepinformation.EndTime;
                tbvolunteer1.Text  = Keepinformation.VolunteerFirstShare;
                tbvolunteer2.Text  = Keepinformation.VolunteerSecondShare;
                tbvolunteer3.Text  = Keepinformation.VolunteerThirdShare;
                tbscore.Text       = Keepinformation.Grade;
            }
            else
            {
                change_enable(true);
            }
        }