View previous topic :: View next topic |
Author |
Message |
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Sun Jun 01, 2008 3:24 pm Post subject: Displaying the Application before ending this() |
|
|
I have this application called LSOpenProjs and I want to display it before the constructor this() completes. i. e.,
Code: | class LSOpenProjs: dfl.form.Form
{
// Do not modify or move this block of variables.
//~Entice Designer variables begin here.
dfl.listview.ListView lview;
dfl.panel.Panel buttons;
dfl.button.Button btnNew;
...
...
dfl.label.Label TMSubMatter;
dfl.tabcontrol.TabControl Util;
//~Entice Designer variables end here.
SqliteDatabase db; // = new SqliteDatabase();
SqliteDatabase dba;// = new SqliteDatabase();
SqliteResult dbr;// = new SqliteResult();
DBIException dbe;// = new DBIException();
Row[] Rows; // = new Row();
Timer tmr;
//SqliteResult res; // = new SqliteResult();
//SqliteResult resa; // = new SqliteResult();
class PMInfo
{
char[] login = null;
char[] email = null;
...
...
char[] EHumanDate = "";
char[] CreationDate = "";
}
PMInfo pm;
GroupBox myGroup = null;
RadioButton[char[]] SubProjRadio = null;
CheckBox[char[]] SubProjCheckBox = null;
...
...
char[] LSBinDir = null;
Row[] PMUserValues = null;
this()
{
initializeOpenProjs();
initDesign();
// I want OpenProjs to show up here...
HouseKeeping();
}
private void HouseKeeping()
{
...
...
}
class ReportTotals
{
real tInvoice = 0;
real tFund = 0;
}
}
int main(char[][] args)
{
int result = 0;
try
{
// Application initialization code here.
Application.run(new LSOpenProjs());
}
catch(Object o)
{
MessageBeep(1);
msgBox(o.toString(), "Fatal Error", MsgBoxButtons.OK, MsgBoxIcon.ERROR);
result = 1;
}
return result;
}
|
So, I would like the LSOpenProjs screen to come up before I run HouseKeeping(). How can I do this?
thanks,
jose |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Jun 02, 2008 7:47 pm Post subject: Re: Displaying the Application before ending this() |
|
|
You can just call the Form's show method at the point you want it shown. e.g. before HouseKeeping() |
|
Back to top |
|
|
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Tue Jun 03, 2008 7:02 am Post subject: |
|
|
DOH!
Thanks. |
|
Back to top |
|
|
|