Esempio n. 1
0
        private void BtnAddStoreClick(object sender, EventArgs e)
        {
            var user1 = currentUserBindingSource.Current as User;

            if (user1 != null)
            {
                var addstore = new AddStore(user1.UserID, repository);
                addstore.ShowDialog();
                Refresh(CurrentUser.UserID);
            }
        }
 private void BtnAddStoreClick(object sender, EventArgs e)
 {
     var user1 = currentUserBindingSource.Current as User;
     if (user1 != null)
     {
         var addstore = new AddStore(user1.UserID,repository);
         addstore.ShowDialog();
         Refresh(CurrentUser.UserID);
     }
 }