protected virtual void Dispose(bool disposing) { if (disposing) { AtNameLabel = null; datelabel = null; replyBtn = null; TweetBlock = null; tweetImg = null; contextmenu = null; dbUser = null; ID = null; imageborder = null; label1 = null; messagePolygon = null; name = null; NameLabel = null; parent = null; polyOpacity = 0; replyBtn = null; replyimageborder = null; Status = null; tweetelementgrid = null; DM_Element = null; } }
public DMElement(MainWindow1 prnt, TwitterDirectMessage status, UserDatabase.User usr, ImageSource Imagesource, bool MoreThanOneUser = false) { InitializeComponent(); dbUser = usr; moreusers = MoreThanOneUser; name = status.Sender.ScreenName; tweetImg.Source = Imagesource; ID = status.Id.ToString(); Status = status; parent = prnt; SolidColorBrush gBrush = new SolidColorBrush(Color.FromArgb((byte)(polyOpacity * 255), 0, 0, 0)); messagePolygon.Fill = gBrush; }
public notify(MainWindow1 parentWindow) { parent = parentWindow; InitializeComponent(); this.Left = ((parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.X + parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Width) - this.Width) - 107; this.Top = parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y - this.Height; ypos = parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y; this.Show(); this.SetAeroGlass(); this.Topmost = Properties.Settings.Default.TopMostNotify; Timer.Tick += new EventHandler(timer_Tick); Timer.Interval = (1); Timer.Start(); }
public notify(MainWindow1 parentWindow) { parent = parentWindow; InitializeComponent(); this.Left = ((parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.X + parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Width) - this.Width) - 107; this.Top = parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y-this.Height; ypos = parent.Displays[Properties.Settings.Default.DisplayIndex].Bounds.Location.Y; this.Show(); this.SetAeroGlass(); this.Topmost = Properties.Settings.Default.TopMostNotify; Timer.Tick += new EventHandler(timer_Tick); Timer.Interval = (1); Timer.Start(); }
public TweetElement(MainWindow1 prnt, TwitterStatus status, UserDatabase.User usr, ImageSource Imagesource, bool MoreThanOneUser = false) { InitializeComponent(); dbUser = usr; moreusers = MoreThanOneUser; name = status.User.ScreenName; tweetImg.Source = Imagesource; ID = status.Id.ToString(); Status = status; favBtn.MouseDown += new MouseButtonEventHandler(favBtn_MouseDown); if (status.Retweeted != true) { retweetBtn.MouseDown += new MouseButtonEventHandler(retweetBtn_MouseDown); } parent = prnt; SolidColorBrush gBrush = new SolidColorBrush(Color.FromArgb((byte)(polyOpacity * 255), 0, 0, 0)); messagePolygon.Fill = gBrush; }
protected virtual void Dispose(bool disposing) { if (disposing) { AtNameLabel = null; datelabel = null; favBtn = null; replyBtn = null; retweetBtn = null; TweetBlock = null; tweetImg = null; contextmenu = null; dbUser = null; favimageborder = null; ID = null; imageborder = null; label1 = null; messagePolygon = null; name = null; NameLabel = null; parent = null; polyOpacity = 0; replyBtn = null; replyimageborder = null; retweetBtn = null; retweetimageborder = null; Status = null; tweetelementgrid = null; tweetElement = null; } }