// Constructor public QueryResultsPopup(LLDatabase DB) { InitializeComponent(); db = DB; t = new DataTable(); queryDataViewer.MultiSelect = false; }
static int Main() { // Before opening the program, Layout the database and table LLDatabase data = new LLDatabase(); int rtn = data.init(); if (rtn < 0) { return(rtn); } // Create a Main Menu Window Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new ProgMenu(data)); // Exit Program return(0); }
// Constructor public UpdateEntryPopup(LLDatabase DB, int Key) { InitializeComponent(); db = DB; key = Key; }
// Constructors public ProgMenu(LLDatabase DB) { InitializeComponent(); db = DB; }
// Constructor public AddEntryPopup(LLDatabase DB) { InitializeComponent(); db = DB; }
public ReturnEntryPopup(int key, LLDatabase DB) { InitializeComponent(); primKey = key; db = DB; }