public BasicAuthenticationCtrl()
{
try
{
this.Font = SystemFonts.MessageBoxFont;
InitializeComponent();
resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.Editor.OSMFeatureInspectorStrings", this.GetType().Assembly);
lblUserName.Text = resourceManager.GetString("OSMEditor_Authentication_UI_labelusername");
lblPassword.Text = resourceManager.GetString("OSMEditor_Authentication_UI_labelpassword");
txtUserName.LostFocus += new EventHandler(txtUserName_LostFocus);
txtUserName.Refresh();
txtPassword.LostFocus += new EventHandler(txtPassword_LostFocus);
txtPassword.Refresh();
m_password = String.Empty;
m_username = String.Empty;
this.Refresh();
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.Message);
System.Diagnostics.Debug.WriteLine(ex.StackTrace);
}
}