示例#1
0
 public FrmProfile(FrmMain mainForm, bool canEdit, string screen_name, ImageListWrapper imagelistwrapper)
     : this(mainForm, canEdit, imagelistwrapper)
 {
     ScreenName = screen_name;
     _profile = null;
     _gotProfile = false;
 }
示例#2
0
 //-------------------------------------------------------------------------------
 //
 public FrmProfile(FrmMain mainForm, bool canEdit, UserProfile profile, ImageListWrapper imagelistwrapper)
     : this(mainForm, canEdit, imagelistwrapper)
 {
     ScreenName = profile.ScreenName;
     _profile = profile;
     SetProfile(_profile);
     _gotProfile = true;
 }
示例#3
0
 //-------------------------------------------------------------------------------
 //
 public FrmDispStatuses(FrmMain parent, ImageListWrapper imageListWrapper, EFormType formtype)
 {
     InitializeComponent();
     ReplyStartTwitdata = null;
     FormType = formtype;
     uctlDispTwit.ImageListWrapper = imageListWrapper;
     parent.RegisterUctlDispTwitEvent(uctlDispTwit);
 }
示例#4
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;
        }
示例#5
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;
        }
示例#6
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);
        }
示例#7
0
        private FrmProfile(FrmMain mainForm, bool canEdit, ImageListWrapper imagelistwrapper)
        {
            InitializeComponent();
            _mainForm = mainForm;
            CanEdit = canEdit;
            tsslabel.Text = "";
            if (!canEdit) {
                rtxtDescription.ReadOnly = txtLocation.ReadOnly = txtName.ReadOnly = txtUrl.ReadOnly = true;
                btnImageChange.Visible = lblDescriptionRest.Visible = btnRenew.Visible = false;
                txtUrl.Visible = false;
            }
            else {
                llblWeb.Visible = false;
                lblFollowing_title.Visible = lblFollowed_title.Visible =
                lblFollowing.Visible = lblFollowed.Visible = false;
                tsmiOperation_Follow.Visible = tsmiOperation_UnFollow.Visible =
                tsmiOperation_Block.Visible = tsmiOperation_UnBlock.Visible =
                tsmiOperation_MakeUserTab.Visible = tsmSep_Op1.Visible = tsmSep_Op2.Visible = false;
            }

            picbIcon.ImageListWrapper = imagelistwrapper;

            ScreenName = null;
        }