예제 #1
0
파일: AddUser.cs 프로젝트: krathi123/Trial
        private void AddUserControl_Load(object sender, EventArgs e)
        {
            UserMasterDao usrMasterDAOREf = new UserMasterDAOImpl();
            List <string> rolenamelist    = usrMasterDAOREf.getRoleName();

            foreach (var item in rolenamelist)
            {
                designationCmb.Items.Add(item);
            }
        }
예제 #2
0
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            //  DataContext = new AddusrCtrlVM();
            UserMasterDAO usrMasterDAOREf = new UserMasterDAOImpl();
            List <string> rolenamelist    = usrMasterDAOREf.getRoleName();

            foreach (var item in rolenamelist)
            {
                DesgcomboBox.Items.Add(item);
            }
        }