C# Class BlipFace.View.StatusListControl

Inheritance: IStatusesView
Datei anzeigen Open project: ksopyla/blipface Class Usage Examples

Public Methods

Method Description
AddStatus ( StatusViewModel statusView, bool insertAtBeginning ) : void

Dodaje status do listy w widoku

FlashMainWindow ( Window window, bool invert ) : void
ShowInfo ( string message ) : void
StatusListControl ( ) : System
StatusListControl ( StatusesPresenter _presenter ) : System
UpdateStatuses ( IList statuses ) : void
WorkDone ( ) : void

Private Methods

Method Description
CiteUser_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Komenda wywoływana gdy naciśniemy cytuj

DirectMessage_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Komenda wywoływana gdy naciśniemy przycisk Odpowiedz przy statusie

EnableContrlsForSendMessage ( bool enable ) : void

Pomocnicza metoda zawierająca w sobie logikę widoku przy dodawaniu, wiadomości true - oznacza że można pokazać i aktywować poszczególene części widoku zaangażowane w wizualizację wysyłania widomości

FlashWindow ( IntPtr hwnd, bool bInvert ) : bool
Hyperlink_RequestNavigate ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void

Otwiera przeglądarkę gdy klikniemy na linka

Navigate_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PagerVisibility ( Visibility visibility ) : void
PrivateMessage_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Komenda wywoływana gdy naciśniemy przycisk Prywatna przy statusie,

SendStatus ( ) : void
SetTextBoxFocus ( ) : void
ShowMessage ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ShowPicture_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ShowVideo_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
TbMessage_OnPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
ToggleButtons_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
btnAddPicture_Click ( object sender, RoutedEventArgs e ) : void
btnDeletePic_Click ( object sender, RoutedEventArgs e ) : void
btnSendBlip_Click ( object sender, RoutedEventArgs e ) : void

Handler dla kliknięca przycisku wysyłania tekstu dla blipa

pagerControl_CurrentPageIndexChanged ( object sender, EventArgs e ) : void
tbMessage_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Zdarzenie gdy naciśnięty zostanie w kontrolce tbMessage klawisz

tbMessage_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Służy tylko do wyliczania ilości znaków pozostałych do wpisania

tgbArchive_Click ( object sender, RoutedEventArgs e ) : void
tgbDashboard_Click ( object sender, RoutedEventArgs e ) : void
tgbSecretary_Click ( object sender, RoutedEventArgs e ) : void

Method Details

AddStatus() public method

Dodaje status do listy w widoku
public AddStatus ( StatusViewModel statusView, bool insertAtBeginning ) : void
statusView BlipFace.Model.StatusViewModel status
insertAtBeginning bool czy dodać na początek czy na koniec listy
return void

FlashMainWindow() public static method

public static FlashMainWindow ( Window window, bool invert ) : void
window System.Windows.Window
invert bool
return void

ShowInfo() public method

public ShowInfo ( string message ) : void
message string
return void

StatusListControl() public method

public StatusListControl ( ) : System
return System

StatusListControl() public method

public StatusListControl ( StatusesPresenter _presenter ) : System
_presenter BlipFace.Presenter.StatusesPresenter
return System

UpdateStatuses() public method

public UpdateStatuses ( IList statuses ) : void
statuses IList
return void

WorkDone() public method

public WorkDone ( ) : void
return void