Click here to Skip to main content
15,917,642 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to set the font of the ToolTipText , such as ToolStripItem.ToolTipText (.Net 2.0) [modified] Pin
wyc_xiaoben30-Mar-08 20:27
wyc_xiaoben30-Mar-08 20:27 
GeneralRe: How to set the font of the ToolTipText , such as ToolStripItem.ToolTipText (.Net 2.0) Pin
Reelix31-Mar-08 3:48
Reelix31-Mar-08 3:48 
GeneralRe: How to set the font of the ToolTipText , such as ToolStripItem.ToolTipText (.Net 2.0) Pin
wyc_xiaoben31-Mar-08 16:13
wyc_xiaoben31-Mar-08 16:13 
GeneralRe: How to set the font of the ToolTipText , such as ToolStripItem.ToolTipText (.Net 2.0) Pin
Reelix31-Mar-08 20:54
Reelix31-Mar-08 20:54 
QuestionCheckBox in DataGridView Control Pin
Vijayitsb30-Mar-08 18:42
Vijayitsb30-Mar-08 18:42 
GeneralRe: CheckBox in DataGridView Control Pin
John_Adams31-Mar-08 23:34
John_Adams31-Mar-08 23:34 
GeneralAssign Form1's DataGrid Data Source to Crystal Report on the Form2 Pin
tr_thorn29-Mar-08 13:59
tr_thorn29-Mar-08 13:59 
General.NET Delegate TabControl Problem Pin
wormworks29-Mar-08 4:22
wormworks29-Mar-08 4:22 
I am trying to use .NET delegate to make the form responsive while doing data retrieval.
The form contains lots of controls including a tabcontrol with tabpages.
When i Click the Search Button to retrieve the data, i invoke the LoadRecord Delegate and the RetrieveRecord Method was called, but when i click the next Tab Page the form hangs. Can anyone help me with this?

Heres the codes..

frmBase

Code Snippet

Private Delegate Sub LoadRecordDelegate()
Private LoadRecord As LoadRecordDelegate


Protected Sub ExecuteRetrieveRecord()
LoadRecord = New LoadRecordDelegate(AddressOf RetrieveRecord)
LoadRecord.BeginInvoke(LoadCallBack, LoadRecord)
'Retrieving
End Sub

Protected Overridable Sub RetrieveRecord()
'Override this
End Sub

Private Sub LoadCallBack(ByVal result As IAsyncResult)
LoadRecord.EndInvoke(result)
'Done Retrieving
End Sub

frmMyForm

Code Snippet

class frmMyForm
Inherits frmBase

Protected Overrides Sub RetrieveRecord()
Me.SearchRecord(ReferenceNumber)
End Sub

Private Sub SearchRecord(RefNum as String)
'Some Codes to retrieve information based on the RefNum
'Populate the controls(textboxes,comboboxes,etc.)
End Sub

private sub BtnSearch_CLick
mybase.ExecuteRetrieveRecord
end sub

End Class
GeneralRe: .NET Delegate TabControl Problem Pin
Luc Pattyn29-Mar-08 5:11
sitebuilderLuc Pattyn29-Mar-08 5:11 
QuestionPrinting in Crystal Report...need help!!! Pin
Krushna Sahu28-Mar-08 21:25
Krushna Sahu28-Mar-08 21:25 
GeneralRe: Printing in Crystal Report...need help!!! Pin
Herman<T>.Instance1-Apr-08 23:37
Herman<T>.Instance1-Apr-08 23:37 
Questiondatatable expression column and datagridview Pin
saltcode28-Mar-08 9:47
professionalsaltcode28-Mar-08 9:47 
General[Message Deleted] Pin
lovnin27-Mar-08 19:11
lovnin27-Mar-08 19:11 
GeneralRe: How to remove the form close button( not to disable)?C# Pin
Christian Graus27-Mar-08 19:36
protectorChristian Graus27-Mar-08 19:36 
QuestionHow to Add click once feature for windows Class Library application? Pin
Vishnu Narayan Mishra26-Mar-08 20:06
Vishnu Narayan Mishra26-Mar-08 20:06 
GeneralRe: How to Add click once feature for windows Class Library application? Pin
led mike27-Mar-08 4:56
led mike27-Mar-08 4:56 
Questionhow to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 12:27
Er.bRijal26-Mar-08 12:27 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 12:38
protectorChristian Graus26-Mar-08 12:38 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 12:46
Er.bRijal26-Mar-08 12:46 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 12:55
protectorChristian Graus26-Mar-08 12:55 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 13:11
Er.bRijal26-Mar-08 13:11 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 14:32
protectorChristian Graus26-Mar-08 14:32 
GeneralNeed help understanding how Pin
Core-CA24-Mar-08 2:19
Core-CA24-Mar-08 2:19 
GeneralRe: Need help understanding how Pin
Christian Graus26-Mar-08 12:45
protectorChristian Graus26-Mar-08 12:45 
GeneralRight click on Data grid view cell content Pin
skghosh23-Mar-08 19:30
skghosh23-Mar-08 19:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.