//------------------------------------------------------------------------------- // 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; }
//------------------------------------------------------------------------------- // 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; }
//------------------------------------------------------------------------------- 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); }
//------------------------------------------------------------------------------- // private void Initialize() { _switchTimer.Elapsed += SwitchTimer_Elapsed; _loadingimg = (Bitmap)StarlitTwit.Properties.Resources.NowLoadingL.Clone(); _imageAnimation = new ImageAnimation(_loadingimg); _imageAnimation.FrameUpdated += Image_Animate; }