Exemplo n.º 1
0
        private void btnShowPosts_Click(object sender, EventArgs e)
        {
            frmShowPosts posts = new frmShowPosts()
            {
                UserName = txtUserName.Text
            };

            posts.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnShowPosts_Click(object sender, EventArgs e)
        {
            frmShowPosts posts = new frmShowPosts()
            {
                UserName = dgvFollowers.CurrentRow.Cells[0].Value.ToString()
            };

            posts.ShowDialog();
        }
Exemplo n.º 3
0
        private async void btnMyPosts_Click(object sender, EventArgs e)
        {
            var userInfo = await ApiManage.instaApi.AccountProcessor.GetRequestForEditProfileAsync();

            frmShowPosts posts = new frmShowPosts()
            {
                UserName = userInfo.Value.Username
            };

            posts.ShowDialog();
        }