示例#1
0
        public UserForm(User user, int id)
        {
            InitializeComponent();
            proxy = new ServiceReference1.Service1Client();
            fajl  = new Fajl();
            us    = user;

            userId = id;
            //MessageBox.Show(Convert.ToString(userId));
            label2.Text = user.Ime;
            List <string> pomNiz = new List <string>();

            pomNiz = proxy.getUserFiles(userId).ToList();

            foreach (string el in pomNiz)
            {
                fajloviList.Items.Add(el);
            }
        }