C# Class KbtterWPF.MainWindow

Exibir arquivo Open project: kb10uy/Kbtter Class Usage Examples

Private Properties

Property Type Description
CreateRetweetedPanel UIElement
CreateUnfavoritePanel UIElement
GetDefaultConfig Config
LoadConfig void
LoadMessages void
LoadPlugins void
RefreshUserInfo void
SetDefaultUser void
SetUserStates void
SetUserStates void
im_MouseDown2 void

Public Methods

Method Description
CreateFavoritePanel ( TwitterStatus st, TwitterUser us ) : UIElement
CreateRetweetPanel ( TwitterStatus ost, TwitterStatus st ) : UIElement
CreateTweetPanel ( TwitterStatus st ) : UIElement
CreateUserPanel ( TwitterUser st ) : UIElement
DMAction ( TweetSharp.TwitterUserStreamDirectMessage p ) : void
EventAction ( TweetSharp.TwitterUserStreamEvent p ) : void
FriendAction ( TweetSharp.TwitterUserStreamFriends p ) : void
GetTemplate ( string name ) : System.Windows.Controls.ControlTemplate
ListFollowers ( ) : void
ListFollowings ( ) : void
MainWindow ( ) : System
MediaTweetWithButtonChanger ( string str, bool f ) : void
NotifyDirectMessage ( TwitterDirectMessage dm ) : void
NotifyFavorited ( TweetSharp.TwitterUserStreamEvent p ) : void
NotifyReplied ( TwitterStatus st ) : void
NotifyRetweeted ( TwitterStatus st, TwitterUser user ) : void
NotifyUnfavorited ( TweetSharp.TwitterUserStreamEvent p ) : void
SearchTweet ( string text, int count ) : Task>
SetStatusBarWithFavorite ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
SetStatusBarWithRetweet ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
SetStatusBarWithSendTweet ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
SetStatusBarWithUnfavorite ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
ShowBalloon ( string title, string text, System.Windows.Forms.ToolTipIcon icon ) : void
StatusAction ( TweetSharp.TwitterUserStreamStatus p ) : void
TryGetMediaControl ( string url, UIElement &ue ) : bool
TweetWithButtonChanger ( string str, bool f ) : void
UpdateStatus ( string text ) : void
del_Click ( object sender, RoutedEventArgs e ) : void
descb_Click ( object sender, RoutedEventArgs e ) : void
fav_Click ( object sender, RoutedEventArgs e ) : void
h_RequestNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
im2_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
im_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
rt_Click ( object sender, RoutedEventArgs e ) : void
t_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Private Methods

Method Description
CreateRetweetedPanel ( TwitterStatus st, TwitterUser us ) : UIElement
CreateUnfavoritePanel ( TwitterStatus st, TwitterUser us ) : UIElement
GetDefaultConfig ( ) : Config
LoadConfig ( ) : void
LoadMessages ( string file ) : void
LoadPlugins ( ) : void
RefreshUserInfo ( ) : void
SetDefaultUser ( ) : void
SetUserStates ( ) : void
SetUserStates ( UserStateKind state ) : void
im_MouseDown2 ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

CreateFavoritePanel() public method

public CreateFavoritePanel ( TwitterStatus st, TwitterUser us ) : UIElement
st TwitterStatus
us TwitterUser
return UIElement

CreateRetweetPanel() public method

public CreateRetweetPanel ( TwitterStatus ost, TwitterStatus st ) : UIElement
ost TwitterStatus
st TwitterStatus
return UIElement

CreateTweetPanel() public method

public CreateTweetPanel ( TwitterStatus st ) : UIElement
st TwitterStatus
return UIElement

CreateUserPanel() public method

public CreateUserPanel ( TwitterUser st ) : UIElement
st TwitterUser
return UIElement

DMAction() public method

public DMAction ( TweetSharp.TwitterUserStreamDirectMessage p ) : void
p TweetSharp.TwitterUserStreamDirectMessage
return void

EventAction() public method

public EventAction ( TweetSharp.TwitterUserStreamEvent p ) : void
p TweetSharp.TwitterUserStreamEvent
return void

FriendAction() public method

public FriendAction ( TweetSharp.TwitterUserStreamFriends p ) : void
p TweetSharp.TwitterUserStreamFriends
return void

GetTemplate() public method

public GetTemplate ( string name ) : System.Windows.Controls.ControlTemplate
name string
return System.Windows.Controls.ControlTemplate

ListFollowers() public method

public ListFollowers ( ) : void
return void

ListFollowings() public method

public ListFollowings ( ) : void
return void

MainWindow() public method

public MainWindow ( ) : System
return System

MediaTweetWithButtonChanger() public method

public MediaTweetWithButtonChanger ( string str, bool f ) : void
str string
f bool
return void

NotifyDirectMessage() public method

public NotifyDirectMessage ( TwitterDirectMessage dm ) : void
dm TwitterDirectMessage
return void

NotifyFavorited() public method

public NotifyFavorited ( TweetSharp.TwitterUserStreamEvent p ) : void
p TweetSharp.TwitterUserStreamEvent
return void

NotifyReplied() public method

public NotifyReplied ( TwitterStatus st ) : void
st TwitterStatus
return void

NotifyRetweeted() public method

public NotifyRetweeted ( TwitterStatus st, TwitterUser user ) : void
st TwitterStatus
user TwitterUser
return void

NotifyUnfavorited() public method

public NotifyUnfavorited ( TweetSharp.TwitterUserStreamEvent p ) : void
p TweetSharp.TwitterUserStreamEvent
return void

SearchTweet() public method

public SearchTweet ( string text, int count ) : Task>
text string
count int
return Task>

SetStatusBarWithFavorite() public method

public SetStatusBarWithFavorite ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
res TweetSharp.TwitterResponse
st TwitterStatus
return void

SetStatusBarWithRetweet() public method

public SetStatusBarWithRetweet ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
res TweetSharp.TwitterResponse
st TwitterStatus
return void

SetStatusBarWithSendTweet() public method

public SetStatusBarWithSendTweet ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
res TweetSharp.TwitterResponse
st TwitterStatus
return void

SetStatusBarWithUnfavorite() public method

public SetStatusBarWithUnfavorite ( TweetSharp.TwitterResponse res, TwitterStatus st ) : void
res TweetSharp.TwitterResponse
st TwitterStatus
return void

ShowBalloon() public method

public ShowBalloon ( string title, string text, System.Windows.Forms.ToolTipIcon icon ) : void
title string
text string
icon System.Windows.Forms.ToolTipIcon
return void

StatusAction() public method

public StatusAction ( TweetSharp.TwitterUserStreamStatus p ) : void
p TweetSharp.TwitterUserStreamStatus
return void

TryGetMediaControl() public method

public TryGetMediaControl ( string url, UIElement &ue ) : bool
url string
ue UIElement
return bool

TweetWithButtonChanger() public method

public TweetWithButtonChanger ( string str, bool f ) : void
str string
f bool
return void

UpdateStatus() public method

public UpdateStatus ( string text ) : void
text string
return void

del_Click() public method

public del_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

descb_Click() public method

public descb_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

fav_Click() public method

public fav_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

h_RequestNavigate() public method

public h_RequestNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
sender object
e System.Windows.Navigation.RequestNavigateEventArgs
return void

im2_MouseDown() public method

public im2_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

im_MouseDown() public method

public im_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

rt_Click() public method

public rt_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

t_MouseLeftButtonDown() public method

public t_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void