[OpenMetaverse.GUI]
* Implemented LoginPanel component in Dashboard example * Fixed and added more sanity checking on window handles * Fixed gender detection showing some women as men git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2569 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -11,8 +11,12 @@ namespace Dashboard
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
if (args.Length > 2) Application.Run(new Dashboard(args[0], args[1], args[2]));
|
||||
else MessageBox.Show("Usage: dashboard.exe <firstName> <lastName> <password>", "Dashboard", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
|
||||
|
||||
string firstName = args.Length > 0 ? args[0] : String.Empty;
|
||||
string lastName = args.Length > 2 ? args[1] : String.Empty;
|
||||
string password = args.Length > 2 ? args[2] : String.Empty;
|
||||
|
||||
Application.Run(new Dashboard(firstName, lastName, password));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user