Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
QuestionHow to set column widths of DataGrid, Anyone? Pin
Khang Nguyen1-Jul-03 13:28
Khang Nguyen1-Jul-03 13:28 
AnswerRe: How to set column widths of DataGrid, Anyone? Pin
Anonymous2-Jul-03 9:09
Anonymous2-Jul-03 9:09 
GeneralRe: How to set column widths of DataGrid, Anyone? Pin
Khang Nguyen2-Jul-03 12:24
Khang Nguyen2-Jul-03 12:24 
GeneralDesignerSerializationAttribute Pin
Kastro1-Jul-03 9:21
Kastro1-Jul-03 9:21 
GeneralRe: DesignerSerializationAttribute Pin
leppie1-Jul-03 13:05
leppie1-Jul-03 13:05 
GeneralRe: DesignerSerializationAttribute Pin
Kastro2-Jul-03 8:58
Kastro2-Jul-03 8:58 
GeneralSome C++ conversions over C#? Need help! Pin
Member 160351-Jul-03 7:54
Member 160351-Jul-03 7:54 
GeneralRe: Some C++ conversions over C#? Need help! Pin
jspano2-Jul-03 14:54
jspano2-Jul-03 14:54 
Well, See if any of this helps.

1. It depends on what you mean by this question. Do you mean how do I write a function in C#, Or how do I export functions from C#? You can't export functions. You either set a reference to the dll from another .net project or you register it for COM interop and then you can get to it from any language that supports COM.

If you mean the function question then you just have one dec for it. No headers.
<br />
public int MyFunct()<br />
{<br />
    return 1;<br />
}<br />


The whole function is declared and programed in one file.

2. Delegates are a little hard to get into in this thread. Many callbacks like you posted arn't needed anymore.

3. Don't know. I do know that direct x 9 has a .net wrapper around all the classes it has. Don't know how good it is as I have never used it.

4. Dll projects do all that for you. Exe projects still have a main function.

5. C# Eliminates #define. They decided it was not worth the headache it caused. Only have const now. The only thing #define is used for in C# is for true/false stuff. Like #define Debug. They you can use #if Debug etc.

6. I'm not sure. What is it used for? Most of the time you don't need anything like that. The framework will do everything for you. What are you trying to do?

7. I don't know what the direct equivalent is, but the framework is HUGE. There is a very very good chance that there is a class in there somewhere that does what you need it to if you can find it.
GeneralRe: Some C++ conversions over C#? Need help! Pin
Nick Seng2-Jul-03 15:45
Nick Seng2-Jul-03 15:45 
GeneralEffective Localization & Management of String Resources Pin
Sin Jeong-hun1-Jul-03 7:46
Sin Jeong-hun1-Jul-03 7:46 
Generalmanaged compiler question Pin
LongRange.Shooter1-Jul-03 6:02
LongRange.Shooter1-Jul-03 6:02 
GeneralRe: managed compiler question Pin
leppie1-Jul-03 11:58
leppie1-Jul-03 11:58 
GeneralRe: managed compiler question Pin
LongRange.Shooter2-Jul-03 3:57
LongRange.Shooter2-Jul-03 3:57 
GeneralRe: managed compiler question Pin
leppie2-Jul-03 7:40
leppie2-Jul-03 7:40 
GeneralTemplatePrinte source code Pin
nahumtakum1-Jul-03 4:07
nahumtakum1-Jul-03 4:07 
GeneralNeed help with service depencies Pin
Stas1-Jul-03 3:50
Stas1-Jul-03 3:50 
GeneralRe: Need help with service depencies Pin
Valeria Bogdevich1-Jul-03 4:57
Valeria Bogdevich1-Jul-03 4:57 
GeneralLaunching script on build Pin
AJ1231-Jul-03 3:35
AJ1231-Jul-03 3:35 
GeneralRe: Launching script on build Pin
Nathan Blomquist1-Jul-03 5:56
Nathan Blomquist1-Jul-03 5:56 
GeneralRe: Launching script on build Pin
AJ1231-Jul-03 7:07
AJ1231-Jul-03 7:07 
GeneralRe: Launching script on build Pin
Nathan Blomquist2-Jul-03 1:51
Nathan Blomquist2-Jul-03 1:51 
GeneralStatic Question Pin
CyberKewl1-Jul-03 3:02
CyberKewl1-Jul-03 3:02 
GeneralRe: Static Question Pin
Roland Bär1-Jul-03 4:58
Roland Bär1-Jul-03 4:58 
Generalhelp!! Pin
jphuphilly1-Jul-03 2:41
jphuphilly1-Jul-03 2:41 
GeneralRe: help!! Pin
leppie1-Jul-03 13:08
leppie1-Jul-03 13:08 

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.