public FrmProfile(FrmMain mainForm, bool canEdit, string screen_name, ImageListWrapper imagelistwrapper) : this(mainForm, canEdit, imagelistwrapper) { ScreenName = screen_name; _profile = null; _gotProfile = false; }
//------------------------------------------------------------------------------- // public FrmProfile(FrmMain mainForm, bool canEdit, UserProfile profile, ImageListWrapper imagelistwrapper) : this(mainForm, canEdit, imagelistwrapper) { ScreenName = profile.ScreenName; _profile = profile; SetProfile(_profile); _gotProfile = true; }
//------------------------------------------------------------------------------- // public FrmDispStatuses(FrmMain parent, ImageListWrapper imageListWrapper, EFormType formtype) { InitializeComponent(); ReplyStartTwitdata = null; FormType = formtype; uctlDispTwit.ImageListWrapper = imageListWrapper; parent.RegisterUctlDispTwitEvent(uctlDispTwit); }
//------------------------------------------------------------------------------- // public FrmListOfUser(FrmMain mainForm, string screen_name) { InitializeComponent(); Debug.Assert(mainForm != null); _mainForm = mainForm; Debug.Assert(!string.IsNullOrEmpty(screen_name)); _screen_name = screen_name; this.Text = string.Format("{0}の所属しているリスト", screen_name); tssLabel.Text = ""; }
//------------------------------------------------------------------------------- // 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 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; }