C# Class flintlock.Flintlock

Inheritance: System.Windows.Forms.Form
Show file Open project: barometz/flintlock

Public Methods

Method Description
Flintlock ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConnectToSelectedPebble ( ) : void

Connect to the Pebble that's currently selected in the combobox, if any.

Connect_Click ( object sender, EventArgs e ) : void
Defaults_Click ( object sender, EventArgs e ) : void
DisEnableControls ( ) : void

Configures the connection UI (scan button/combo, connect button) as appropriate for the current connection state.

DisconnectUIUpdate ( ) : void

Reset the UI to the disconnected state. To be called through Invoke.

Flintlock_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
Flintlock_Resize ( object sender, EventArgs e ) : void
Flintlock_Shown ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReloadSettings_Click ( object sender, EventArgs e ) : void
ResetVersionInfo ( ) : void

Reset the version info after a disconnect.

Save_Click ( object sender, EventArgs e ) : void
Scan_Click ( object sender, EventArgs e ) : void
SetVersionInfo ( ) : void

Set the version info based on the currently connected Pebble.

ShowInTray_CheckedChanged ( object sender, EventArgs e ) : void
WatchfacePic_Click ( object sender, EventArgs e ) : void
disconnectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
links_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
listUpdateWorker_DoWork ( object sender, DoWorkEventArgs e ) : void

Background task for Pebble autodetect.

listUpdateWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

UI update after the Pebble autodetect has finished.

notifyIcon_DoubleClick ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pebble_MediaControlReceived ( object sender, flint.MediaControlReceivedEventArgs e ) : void
pebble_OnConnect ( object sender, EventArgs e ) : void
pebble_OnDisconnect ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Flintlock() public method

public Flintlock ( ) : System
return System