Click here to Skip to main content
16,006,378 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGrid Scrollbars in Asp.net Pin
Wesley Samuel18-Jul-06 22:24
Wesley Samuel18-Jul-06 22:24 
GeneralRe: DataGrid Scrollbars in Asp.net Pin
Naji.A19-Jul-06 11:51
Naji.A19-Jul-06 11:51 
GeneralRe: DataGrid Scrollbars in Asp.net Pin
Wesley Samuel19-Jul-06 20:03
Wesley Samuel19-Jul-06 20:03 
Questionediting datagridview Pin
toink toink16-Jul-06 16:19
toink toink16-Jul-06 16:19 
Questionprob calling MDIChild by another MDIchild [modified] Pin
paulcortez16-Jul-06 15:55
paulcortez16-Jul-06 15:55 
AnswerRe: prob calling MDIChild by another MDIchild Pin
Judah Gabriel Himango16-Jul-06 17:37
sponsorJudah Gabriel Himango16-Jul-06 17:37 
GeneralRe: prob calling MDIChild by another MDIchild Pin
paulcortez16-Jul-06 18:11
paulcortez16-Jul-06 18:11 
GeneralRe: prob calling MDIChild by another MDIchild Pin
Judah Gabriel Himango17-Jul-06 5:26
sponsorJudah Gabriel Himango17-Jul-06 5:26 
paulcortez wrote:
Public static Property defInstance() As frmBillingAll --> I dont know how to convert this thing...

Get
If mFormDefInstance Is Nothing OrElse mFormDefInstance.IsDisposed Then
mInitializingDefInstance = True
mFormDefInstance = New frmBillingAll
mInitializingDefInstance = False
End If
defInstance = mFormDefInstance
End Get
Set(ByVal Value As frmBillingAll)
mFormDefInstance = Value
End Set
End Property


Please help me men... I don't know how to convert the rest of it...


First, there are several free tools available that convert VB snippets into equivalent C#. Lutz Reflector is one such tool.

I will do this one conversion for you; after that, it's best to learn how to fish yourself and use the freely available tools to do this.

public static frmBillingAll DefInstance
{
    get
    {
        if(mFormDefInstance == null || mFormDefInstance.IsDisposed)
        {
            mInitializingDefInstance = true;
            mFormDefInstance = new frmBillingAll();
            mInitializingDefInstance = false;
        }
        defInstance = mFormDefInstance;
    }

    set
    {
        mFormDefInstance = value;
    }
}


p.s. when posting code snippets in this forum, be sure to surround your code with <pre> tags.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Messianic Instrumentals (with audio)
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


QuestionRichTextBox URL/Hyperlink "Text to be displayed" Pin
StyrofoamSUV16-Jul-06 15:42
StyrofoamSUV16-Jul-06 15:42 
AnswerRe: RichTextBox URL/Hyperlink "Text to be displayed" Pin
Judah Gabriel Himango16-Jul-06 17:16
sponsorJudah Gabriel Himango16-Jul-06 17:16 
GeneralRe: RichTextBox URL/Hyperlink &quot;Text to be displayed&quot; [modified] Pin
StyrofoamSUV16-Jul-06 17:30
StyrofoamSUV16-Jul-06 17:30 
QuestionHow to use this LZMA compress algorithm in C# [modified] Pin
visli16-Jul-06 14:50
visli16-Jul-06 14:50 
AnswerRe: How to use this LZMA compress algorithm in C# Pin
Judah Gabriel Himango16-Jul-06 17:35
sponsorJudah Gabriel Himango16-Jul-06 17:35 
QuestionHow To Pass Parameters To A Crystal Report Programmatically Pin
Fahad Ali16-Jul-06 13:16
Fahad Ali16-Jul-06 13:16 
AnswerRe: How To Pass Parameters To A Crystal Report Programmatically Pin
DrKlund16-Jul-06 22:27
DrKlund16-Jul-06 22:27 
QuestionHow to get the rows total of an OleDbDataReader Pin
xkx3216-Jul-06 12:36
xkx3216-Jul-06 12:36 
AnswerRe: How to get the rows total of an OleDbDataReader Pin
Judah Gabriel Himango16-Jul-06 17:33
sponsorJudah Gabriel Himango16-Jul-06 17:33 
AnswerRe: How to get the rows total of an OleDbDataReader Pin
paulcortez16-Jul-06 18:17
paulcortez16-Jul-06 18:17 
QuestionWCL extended properties Pin
-Yoyosh-16-Jul-06 11:53
-Yoyosh-16-Jul-06 11:53 
AnswerRe: WCL extended properties Pin
Judah Gabriel Himango16-Jul-06 17:32
sponsorJudah Gabriel Himango16-Jul-06 17:32 
QuestionForm designer - executing user control properties Pin
AJ12316-Jul-06 10:31
AJ12316-Jul-06 10:31 
AnswerRe: Form designer - executing user control properties Pin
Ravi Bhavnani16-Jul-06 11:14
professionalRavi Bhavnani16-Jul-06 11:14 
AnswerRe: Form designer - executing user control properties Pin
Josh Smith17-Jul-06 7:56
Josh Smith17-Jul-06 7:56 
AnswerRe: Form designer - executing user control properties Pin
AJ12317-Jul-06 10:01
AJ12317-Jul-06 10:01 
QuestionStringCollection and substring Pin
Saamir16-Jul-06 8:23
Saamir16-Jul-06 8:23 

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.