Logo Search packages:      
Sourcecode: yahtzeesharp version File versions  Download package

YahtzeeSharp::dlgOpen Class Reference

List of all members.

Detailed Description

Dialog to manged and open games.

Definition at line 33 of file dlgOpen.cs.

Public Member Functions

 dlgOpen ()
 the main function for the open game dialog also set up the treeview and its elements
int GetGameNumber ()
string GetPlayerName ()

Protected Member Functions

virtual void Build ()
virtual void OnBtnClearFilterClicked (object sender, System.EventArgs e)
virtual void OnBtnCloseClicked (object sender, System.EventArgs e)
virtual void OnBtnDeleteClicked (object sender, System.EventArgs e)
 a function to delete a game from the game data grid
virtual void OnBtnOpenClicked (object sender, System.EventArgs e)
 Set the game we are looking to open returns the values needed to open a game and destoys the existing form.
virtual void OnCbxCompletedGamesClicked (object sender, System.EventArgs e)
virtual void OnGvOpenRowActivated (object o, Gtk.RowActivatedArgs args)
virtual void OnTxtFilterChanged (object sender, System.EventArgs e)

Private Member Functions

bool FilterTree (Gtk.TreeModel model, Gtk.TreeIter iter)
Gtk.TreeModelFilter LoadTree ()

Private Attributes

Gtk.Button btnClearFilter
Gtk.CheckButton cbxCompletedGames
Gtk.Button cmdCancel
Gtk.Button cmdDelete
Gtk.Button cmdOpen
DataSet ds = new DataSet()
Gtk.TreeModelFilter filter
Gtk.TreeView gvOpen
Gtk.HBox hbox1
Gtk.HSeparator hseparator2
int intGameNumber = -1
Gtk.Label lblfilter
Gtk.ScrolledWindow scrolledwindow1
string strPlayerName = null
Gtk.Entry txtFilter
Gtk.VBox vbox2

Static Private Attributes

static string SavePath = System.Environment.GetEnvironmentVariable("HOME") + "/.YahtzeeSharp/"

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index