コード例 #1
0
ファイル: UnFollowPage.xaml.cs プロジェクト: Gojice/Boffalow
        private void UnfollowAll()
        {
            if (Convert.ToInt32(tbNumberOfunFollower.Text) > Convert.ToInt32(tbMaxNumber.Text))
            {
                MessageDialog message = new MessageDialog("The Number of Unfollow should be less than Max Number.");
                btnProcess.Content             = "Process";
                tbNumberOfunFollower.IsEnabled = true;
                cbMethoud.IsEnabled            = true;
                btnProcess.IsEnabled           = true;
                return;
            }
            UnFollower un = new UnFollower();

            un.All(Convert.ToInt32(tbNumberOfunFollower.Text));
        }
コード例 #2
0
ファイル: UnFollowPage.xaml.cs プロジェクト: Gojice/Boffalow
        private void UnfollowThatNotFollow()
        {
            if (Convert.ToInt32(tbNumberOfunFollower.Text) > Convert.ToInt32(tbMaxNumber.Text))
            {
                Notinfer.Show("The Number of Unfollow should be less than Max Number.", 2000);
                btnProcess.Content             = "Process";
                tbNumberOfunFollower.IsEnabled = true;
                cbMethoud.IsEnabled            = true;
                btnProcess.IsEnabled           = true;
                return;
            }

            UnFollower un = new UnFollower();

            un.NotFollowingMe(Convert.ToInt32(tbNumberOfunFollower.Text));
        }
コード例 #3
0
ファイル: UnFollowPage.xaml.cs プロジェクト: Gojice/Boffalow
        private void UnFollowSelected()
        {
            var Selected = lvList.SelectedItems;

            if (Selected.Count == 0)
            {
                Statico.Notifer.Show(string.Format("You Should select a item for Unfollow."), Statico.NotifDelay);
                btnProcess.Content             = "Process";
                tbNumberOfunFollower.IsEnabled = true;
                cbMethoud.IsEnabled            = true;
                btnProcess.IsEnabled           = true;
                return;
            }

            UnFollower un = new UnFollower();

            un.Selected(Selected);
        }