C# Class OakBot.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Afficher le fichier Open project: ocgineer/OakBot Class Usage Examples

Méthodes publiques

Свойство Type Description
accountBot TwitchCredentials
accountStreamer TwitchCredentials
botChatConnection TwitchChatConnection
colBotCommands ObservableCollection
colChatMessages ObservableCollection
colChatWindows ObservableCollection
colDatabase ObservableCollection
colGiveaways ObservableCollection
colQuotes ObservableCollection
colSongs ObservableCollection
colViewers ObservableCollection
discord Discord.DiscordClient
indexSong int
instance MainWindow
playState bool
streamerChatConnection TwitchChatConnection
testGw Giveaway

Méthodes publiques

Méthode Description
DisconnectBot ( ) : void
DisconnectStreamer ( ) : void
LoadConfigToUI ( ) : void
MainWindow ( ) : Discord
nextSong ( ) : void
popMsgBox ( string text ) : void
prevSong ( ) : void

Private Methods

Méthode Description
ChatSend_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
ConnectBot ( ) : void
ConnectStreamer ( ) : void
DatabaseFilter ( object item ) : bool
Discord_MessageReceived ( object sender, Discord.MessageEventArgs e ) : void
OakBot_Closing ( object sender, System e ) : void
RunManualCommercial ( int length ) : void
SpeakAs_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
btn120Secs_Click ( object sender, RoutedEventArgs e ) : void
btn150Secs_Click ( object sender, RoutedEventArgs e ) : void
btn180Secs_Click ( object sender, RoutedEventArgs e ) : void
btn30Sec_Click ( object sender, RoutedEventArgs e ) : void
btn60Sec_Click ( object sender, RoutedEventArgs e ) : void
btn90Secs_Click ( object sender, RoutedEventArgs e ) : void
btnAddEditGw_Click ( object sender, RoutedEventArgs e ) : void
btnBotConnect_Click ( object sender, RoutedEventArgs e ) : void
btnDatabaseCleanup_Click ( object sender, RoutedEventArgs e ) : void
btnImport_Click ( object sender, RoutedEventArgs e ) : void
btnLogin_Click ( object sender, RoutedEventArgs e ) : void
btnNext_Click ( object sender, RoutedEventArgs e ) : void
btnPlay_Click ( object sender, RoutedEventArgs e ) : void
btnPlayerCtl_Click ( object sender, RoutedEventArgs e ) : void
btnPrev_Click ( object sender, RoutedEventArgs e ) : void
btnRefresh_Click ( object sender, RoutedEventArgs e ) : void
btnStreamerConnect_Click ( object sender, RoutedEventArgs e ) : void
btnUpdate_Click ( object sender, RoutedEventArgs e ) : void
btnViewerAddPoints_Click ( object sender, RoutedEventArgs e ) : void
buttonBotConnect_Click ( object sender, RoutedEventArgs e ) : void
buttonStreamerConnect_Click ( object sender, RoutedEventArgs e ) : void
button_Click ( object sender, RoutedEventArgs e ) : void
cbAutoConnectBot_Checked ( object sender, RoutedEventArgs e ) : void
cbAutoConnectBot_Unchecked ( object sender, RoutedEventArgs e ) : void
cbAutoConnectStreamer_Checked ( object sender, RoutedEventArgs e ) : void
cbAutoConnectStreamer_Unchecked ( object sender, RoutedEventArgs e ) : void
colChatMessages_Changed ( object sender, NotifyCollectionChangedEventArgs e ) : void
comboBox_Copy_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
comboBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
listViewChat_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
lvGiveaways_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
lvSongs_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
lvViewerDatabase_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
slider_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
tbFilterOnName_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
textBoxBotName_LostFocus ( object sender, RoutedEventArgs e ) : void
textBoxStreamerName_LostFocus ( object sender, RoutedEventArgs e ) : void
txtToken_LostFocus ( object sender, RoutedEventArgs e ) : void

Method Details

DisconnectBot() public méthode

public DisconnectBot ( ) : void
Résultat void

DisconnectStreamer() public méthode

public DisconnectStreamer ( ) : void
Résultat void

LoadConfigToUI() public méthode

public LoadConfigToUI ( ) : void
Résultat void

MainWindow() public méthode

public MainWindow ( ) : Discord
Résultat Discord

nextSong() public méthode

public nextSong ( ) : void
Résultat void

popMsgBox() public static méthode

public static popMsgBox ( string text ) : void
text string
Résultat void

prevSong() public méthode

public prevSong ( ) : void
Résultat void

Property Details

accountBot public_oe property

public TwitchCredentials,OakBot accountBot
Résultat TwitchCredentials

accountStreamer public_oe property

public TwitchCredentials,OakBot accountStreamer
Résultat TwitchCredentials

botChatConnection public_oe property

public TwitchChatConnection,OakBot botChatConnection
Résultat TwitchChatConnection

colBotCommands public_oe static_oe property

public static ObservableCollection colBotCommands
Résultat ObservableCollection

colChatMessages public_oe static_oe property

public static ObservableCollection colChatMessages
Résultat ObservableCollection

colChatWindows public_oe static_oe property

public static ObservableCollection colChatWindows
Résultat ObservableCollection

colDatabase public_oe static_oe property

public static ObservableCollection colDatabase
Résultat ObservableCollection

colGiveaways public_oe static_oe property

public static ObservableCollection colGiveaways
Résultat ObservableCollection

colQuotes public_oe static_oe property

public static ObservableCollection colQuotes
Résultat ObservableCollection

colSongs public_oe static_oe property

public static ObservableCollection colSongs
Résultat ObservableCollection

colViewers public_oe static_oe property

public static ObservableCollection colViewers
Résultat ObservableCollection

discord public_oe static_oe property

public static DiscordClient,Discord discord
Résultat Discord.DiscordClient

indexSong public_oe static_oe property

public static int indexSong
Résultat int

instance public_oe static_oe property

public static MainWindow,OakBot instance
Résultat MainWindow

playState public_oe static_oe property

public static bool playState
Résultat bool

streamerChatConnection public_oe property

public TwitchChatConnection,OakBot streamerChatConnection
Résultat TwitchChatConnection

testGw public_oe property

public Giveaway,OakBot testGw
Résultat Giveaway