Example #1
0
        private void selfprofile_button_Click(object sender, EventArgs e)
        {
            LoadingDialog Loading = new LoadingDialog();

            Loading.Show();
            Application.DoEvents();
            Userprofile profile = new Userprofile();

            profile.Show();
            Loading.Close();
        }
Example #2
0
        private void SomeoneProfile_Button_Click(object sender, EventArgs e)
        {
            LoadingDialog Loading = new LoadingDialog();

            Loading.Show();
            Application.DoEvents();
            Userprofile profile = new Userprofile();

            profile.Target_id = long.Parse(SomeoneProfile_id.Text);
            profile.Show();
            Loading.Close();
        }