C# Class TwVideoUp.MainWindow

MainWindow.xaml の相互作用ロジック
Inheritance: System.Windows.Window
ファイルを表示 Open project: hinaloe/TwitterVideoUploader Class Usage Examples

Public Properties

Property Type Description
tokens CoreTweet.Tokens

Public Methods

Method Description
MainWindow ( ) : System

Private Methods

Method Description
AboutApp ( object sender, RoutedEventArgs e ) : void

AboutApp呼び出しイベントハンドラ

AfterSendTweet ( int status ) : void

ツイート送信成否に関わらず共通実行するメソッド

AuthStart ( ) : void
BeforeSendTweet ( ) : void

ツイート送信前に実行するメソッド

ContextMenuGen ( ) : void

コンテキストメニューを生成、バインドします。

Dialog ( string caption, string instructionText, string text, TaskDialogStandardIcon icon ) : Microsoft.WindowsAPICodePack.Dialogs.TaskDialog

TaskDialogを生成します

Duration ( string file ) : double

メディアの長さを取得します

MainWindow_OnDrop ( object sender, System.Windows.DragEventArgs e ) : void

ドロップイベントのハンドラ

ProgressBar_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
ReAuth ( object sender, RoutedEventArgs e ) : void

再認可呼び出しイベントハンドラ

SendTweet ( ) : void
SendTweetButton_Click ( object sender, RoutedEventArgs e ) : void
SetProgress ( int progress ) : void

アップロード進捗を受信した際にプログレスバーに反映する

StatusAreaOnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
SucceedUpload ( CoreTweet.Status status ) : void
fileDialog_Open ( string initaldir = null ) : string

ファイルダイアログを開きます

m_JumpButton_Click ( object sender, RoutedEventArgs e ) : void
m_OpenWindow_Click ( object sender, RoutedEventArgs e ) : void
m_PauseButton_Click ( object sender, RoutedEventArgs e ) : void

一時停止ボタン

m_PlayButton_Click ( object sender, RoutedEventArgs e ) : void

再生ボタン

mediaElement_SourceUpdated ( object sender, System.Windows.Data.DataTransferEventArgs e ) : void
openMediaPreviewWindow ( Uri uri ) : void

新しいウインドウでプレビュー

pickerCaller_Click ( object sender, RoutedEventArgs e ) : void
updateWithMedia ( String text, Uri uri ) : void

Upload Video to Twitter and Tweet.

updateWithMedia ( Uri uri, String status ) : void

Upload Video to Twitter and Tweet

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

Property Details

tokens public_oe property

public Tokens,CoreTweet tokens
return CoreTweet.Tokens