[Mono-bugs] [Bug 457743] New: TexBox: point is removed during data entry
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 9 14:31:25 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=457743
Summary: TexBox: point is removed during data entry
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: kobruleht2 at hot.ee
QAContact: mono-bugs at lists.ximian.com
Found By: ---
To reproduce, run code, enter
e.e
to Server field
Observed: ee appears
Expected: e.e should appear
using System;
using System.Windows.Forms;
public static class AppMainEntry
{
public static void Main()
{
Application.EnableVisualStyles();
Application.EnableVisualStyles();
DialogResult result = new UserLoginForm().ShowDialog();
}
}
class UserLoginForm : Form
{
private System.ComponentModel.IContainer components = null;
internal UserLoginForm()
{
System.ComponentModel.ComponentResourceManager resources = new
System.ComponentModel.ComponentResourceManager(typeof(UserLoginForm));
btnOK = new Button();
btnCancel = new Button();
label4 = new Label();
PasswordConnect = new TextBox();
Server = new TextBox();
UserIDConnect = new TextBox();
label5 = new Label();
label1 = new Label();
SuspendLayout();
btnOK.Location = new System.Drawing.Point(61, 124);
btnOK.Name = "btnOK";
btnOK.Size = new System.Drawing.Size(75, 23);
btnOK.TabIndex = 1;
btnOK.Text = "OK";
btnOK.UseVisualStyleBackColor = true;
btnCancel.CausesValidation = false;
btnCancel.DialogResult = DialogResult.Cancel;
btnCancel.Location = new System.Drawing.Point(187, 125);
btnCancel.Name = "btnCancel";
btnCancel.Size = new System.Drawing.Size(75, 23);
btnCancel.TabIndex = 2;
btnCancel.Text = "Cancel";
btnCancel.UseVisualStyleBackColor = true;
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(33, 78);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(37, 13);
label4.TabIndex = 5;
label4.Text = "Parool";
//
// PasswordConnect
//
PasswordConnect.Location = new System.Drawing.Point(128, 78);
PasswordConnect.MaxLength = 60;
PasswordConnect.Name = "PasswordConnect";
PasswordConnect.Size = new System.Drawing.Size(100, 20);
PasswordConnect.TabIndex = 0;
PasswordConnect.UseSystemPasswordChar = true;
//
// Server
//
Server.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
Server.AutoCompleteSource = AutoCompleteSource.CustomSource;
Server.DataBindings.Add(new Binding("Text",
global::Text.UI.Properties.Settings.Default
, "Server", true, DataSourceUpdateMode.OnPropertyChanged));
Server.Location = new System.Drawing.Point(128, 18);
Server.MaxLength = 120;
Server.Name = "Server";
Server.Size = new System.Drawing.Size(208, 20);
Server.TabIndex = 3;
Server.Text = global::Text.UI.Properties.Settings.Default.Server;
//
// UserIDConnect
//
UserIDConnect.DataBindings.Add(new Binding("Text",
global::Text.UI.Properties.Settings.Default
, "User", true, DataSourceUpdateMode.OnPropertyChanged));
UserIDConnect.Location = new System.Drawing.Point(128, 49);
UserIDConnect.MaxLength = 327;
UserIDConnect.Name = "UserIDConnect";
UserIDConnect.Size = new System.Drawing.Size(100, 20);
UserIDConnect.TabIndex = 4;
UserIDConnect.Text = global::Text.UI.Properties.Settings.Default.User;
//
// label5
//
label5.AutoSize = true;
label5.Location = new System.Drawing.Point(33, 49);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(48, 13);
label5.TabIndex = 11;
label5.Text = "Kasutaja";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(33, 21);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(38, 13);
label1.TabIndex = 2;
label1.Text = "Server";
//
// UserLoginForm
//
AcceptButton = btnOK;
AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = System.Drawing.SystemColors.Control;
CancelButton = btnCancel;
ClientSize = new System.Drawing.Size(344, 173);
Controls.Add(label5);
Controls.Add(UserIDConnect);
Controls.Add(Server);
Controls.Add(PasswordConnect);
Controls.Add(label4);
Controls.Add(label1);
Controls.Add(btnCancel);
Controls.Add(btnOK);
FormBorderStyle = FormBorderStyle.FixedDialog;
//Icon = ((System.Drawing.Icon)(resources.GetObject("$Icon")));
MaximizeBox = false;
MinimizeBox = false;
Name = "UserLoginForm";
SizeGripStyle = SizeGripStyle.Hide;
StartPosition = FormStartPosition.CenterScreen;
ResumeLayout(false);
PerformLayout();
}
private Button btnOK;
private Button btnCancel;
private Label label4;
private TextBox PasswordConnect;
private TextBox Server;
private TextBox UserIDConnect;
private Label label5;
private Label label1;
}
namespace Text.UI.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator",
"9.0.0.0")]
internal sealed partial class Settings :
global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance =
((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new
Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("localhost")]
public string Server
{
get
{
return ((string)(this["Server"]));
}
set
{
this["Server"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("admin")]
public string User
{
get
{
return ((string)(this["User"]));
}
set
{
this["User"] = value;
}
}
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list