Hi Noam, to reproduce the form maximized bug, just create a new project, add a new form and on a button click:
Form2 frm = new Form2();
frm.Show();
Then try to maximize the Form2, clicking on the respective icon.
The listview bug can be reproduced adding to the same form a listview and the code:
private void button2_Click(object sender, EventArgs e)
{
List<MyTestClass> lst = new List<MyTestClass>();
lst.Add(new MyTestClass() { ID = 1, Name = "First Name", Date = new DateTime(2005, 10, 23), Value = 10M });
listView1.DataSource = lst;
}
public class MyTestClass
{
public int ID { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public Decimal Value { get; set; }
}
When I do this, my application looks like this:
img167.imageshack.us/img167/2962/vwgslig0.jpg
BUT if I resize the browsers window, the form2 gets the right position on screen and if I hit F5 "Refresh", the listView captions appears.
Don't know what i am missing here, there is nothing crazy, just basic stuff.
By "Manually deleting" I mean selecting the ComboBox content with the mouse and pressing delete on the keyboard or backspace, etc. If the current Text of the comboBox cannot be found on the combo's dropdown list, the SelectedIndex should return -1 i think (and thats the way winForms do)