C# 클래스 Feedling.FeedWin

Interaction logic for FeedWin.xaml
파일 보기 프로젝트 열기: growse/Feedling 1 사용 예제들

공개 메소드들

메소드 설명
Deselect ( ) : void

Called by FeedWinManager when the feed is selected. Forces a redraw that removes the background a solid colour.

FeedWin ( FeedConfigItem feeditem ) : System

Constructor! Hurrah!

Select ( ) : void

Called by FeedWinManager when the feed is selected. Forces a redraw that paints the background a solid colour.

UpdateNow ( ) : void

Called to request the feed to update itself.

보호된 메소드들

메소드 설명
OnActivated ( EventArgs e ) : void

비공개 메소드들

메소드 설명
GetFeedType ( FeedConfigItem feedConfigItem ) : void

Takes a given FeedConfiItem and iterates through all the available plugins to see if any of them can handle it.

NearestX ( double input ) : int

Takes a given coordinate and turns it into the nearest grid X position

PinToDesktop ( ) : void

Sends window to the bottom.

RedrawWin ( ) : void

Thread-safe window drawing method. Decides basically what colour everything should be, depending on the state of the window (selected, pinned etc.) Also sets the text of the textblocks to either the feed items, some sort of error, or random mumblings from Hamlet.

StartProcess ( object url ) : void

Called to load the browser and pass it the given url.

TextBlock_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
TextBlock_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
TextBlock_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
UnpinFromDesktop ( ) : void

Brings window back to the top.

Window_Loaded ( object sender, RoutedEventArgs e ) : void
Window_LocationChanged ( object sender, EventArgs e ) : void
Window_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Window_MouseRightButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_MouseRightButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Window_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
movehandle_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
rssfeed_Updated ( object sender, EventArgs e ) : void
thisinst_ToggleMoveMode ( bool obj ) : void

메소드 상세

Deselect() 공개 메소드

Called by FeedWinManager when the feed is selected. Forces a redraw that removes the background a solid colour.
public Deselect ( ) : void
리턴 void

FeedWin() 공개 메소드

Constructor! Hurrah!
public FeedWin ( FeedConfigItem feeditem ) : System
feeditem Feedling.Classes.FeedConfigItem
리턴 System

OnActivated() 보호된 메소드

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
리턴 void

Select() 공개 메소드

Called by FeedWinManager when the feed is selected. Forces a redraw that paints the background a solid colour.
public Select ( ) : void
리턴 void

UpdateNow() 공개 메소드

Called to request the feed to update itself.
public UpdateNow ( ) : void
리턴 void