Re: Wingrid and using dropdowns inside the grid, i find that all of my "ultraDropDownTaskArea_InitializeLayout" , " ultraDropDownProject_InitializeLayout" etc. events fire after form is loaded.
It makes it difficult to freeze the screen as it is loading.
e.g.
load
this.SuspendLayout(); this.ultraGrid1.BeginUpdate(); this.percentageDataDataGridView.BeginUpdate(); this.bEAEmployeeListGrid.BeginUpdate(); this.bEATaskOverRide1Grid.BeginUpdate();
.......................................................
this.ultraGrid1.EndUpdate(); this.percentageDataDataGridView.EndUpdate(); this.bEAEmployeeListGrid.EndUpdate(); this.bEATaskOverRide1Grid.EndUpdate(); this.ResumeLayout();
end load
What can i do ? Do i need to make the form invisible until the last moment?
I'm not really sure I understand the question, but it sounds to me like you want to load all of your controls first before you show the form.
hmmm, yes i am wondering how to do that. Can you add a line inside the init method so they are done before 'end load' ?
Well, typically you would use your Main function and create the form and initialize it before actually calling Application.Run.
Or you might want to move your code to the form's constructor instead of the form load event.