Esempio n. 1
0
        //-------------------------------------------------------------------------------
        //
        public FrmDispUsers(FrmMain mainForm, ImageListWrapper imgListWrapper, EFormType formtype)
        {
            InitializeComponent();
            _mainForm = mainForm;
            _imageListWrapper = imgListWrapper;
            lstvList.SmallImageList = imgListWrapper.ImageList;
            FormType = formtype;

            UserScreenName = ListID = null;
            RetweetStatusID = -1;

            _loadingimg = (Bitmap)StarlitTwit.Properties.Resources.NowLoadingS.Clone();
            _imageAnimation = new ImageAnimation(_loadingimg);
            _imageAnimation.FrameUpdated += Image_Animate;
        }
Esempio n. 2
0
        //-------------------------------------------------------------------------------
        //
        public FrmUsersRelations(FrmMain mainForm, ImageListWrapper imgListWrapper)
        {
            InitializeComponent();

            _mainForm = mainForm;
            _imageListWrapper = imgListWrapper;
            lstvCommonFollower.SmallImageList = imgListWrapper.ImageList;
            lstvCommonFriend.SmallImageList = imgListWrapper.ImageList;

            tsslabel.Text = "";
            userSelector.Notifier = NotifierMethod;

            _loadingimg = (Bitmap)StarlitTwit.Properties.Resources.NowLoadingS.Clone();
            _imageAnimation = new ImageAnimation(_loadingimg);
            _imageAnimation.FrameUpdated += Image_Animate;
        }
Esempio n. 3
0
        //-------------------------------------------------------------------------------
        public FrmDispLists(FrmMain mainForm, ImageListWrapper imgListWrapper, EFormType formtype)
        {
            InitializeComponent();

            _mainForm = mainForm;
            _imageListWrapper = imgListWrapper;
            lstvList.SmallImageList = imgListWrapper.ImageList;
            FormType = formtype;

            UserScreenName = null;

            _loadingimg = (Bitmap)StarlitTwit.Properties.Resources.NowLoadingS.Clone();
            _imageAnimation = new ImageAnimation(_loadingimg);
            _imageAnimation.FrameUpdated += Image_Animate;

            btnAddNewList.Visible = (formtype == EFormType.MyList);
        }
Esempio n. 4
0
        //-------------------------------------------------------------------------------
        //
        private void Initialize()
        {
            _switchTimer.Elapsed += SwitchTimer_Elapsed;

            _loadingimg = (Bitmap)StarlitTwit.Properties.Resources.NowLoadingL.Clone();
            _imageAnimation = new ImageAnimation(_loadingimg);
            _imageAnimation.FrameUpdated += Image_Animate;
        }