Click here to Skip to main content
15,925,723 members
Home / Discussions / C#
   

C#

 
AnswerRe: Display Line Number in C# Code Editor? Pin
monrobot1325-Jun-03 6:28
monrobot1325-Jun-03 6:28 
GeneralRe: Display Line Number in C# Code Editor? Pin
Khang Nguyen25-Jun-03 6:35
Khang Nguyen25-Jun-03 6:35 
GeneralGetting used file handles of a process Pin
derjames25-Jun-03 4:53
derjames25-Jun-03 4:53 
GeneralRe: Getting used file handles of a process Pin
John Fisher25-Jun-03 7:22
John Fisher25-Jun-03 7:22 
GeneralShared Memory in C# Pin
Aravinthan25-Jun-03 2:51
Aravinthan25-Jun-03 2:51 
GeneralRe: Shared Memory in C# Pin
Kannan Kalyanaraman25-Jun-03 3:50
Kannan Kalyanaraman25-Jun-03 3:50 
GeneralRe: Shared Memory in C# Pin
Aravinthan25-Jun-03 18:26
Aravinthan25-Jun-03 18:26 
GeneralRe: Shared Memory in C# (Cickety) Pin
Kant26-Jun-03 7:09
Kant26-Jun-03 7:09 
GeneralCode Download, amount downloaded Pin
MadsJ25-Jun-03 1:45
MadsJ25-Jun-03 1:45 
GeneralRe: Code Download, amount downloaded Pin
John Fisher25-Jun-03 7:17
John Fisher25-Jun-03 7:17 
Generaldatateader problem Pin
Asim N.25-Jun-03 1:12
Asim N.25-Jun-03 1:12 
GeneralRe: datateader problem Pin
MadsJ25-Jun-03 1:49
MadsJ25-Jun-03 1:49 
GeneralName parser Pin
ecurren24-Jun-03 23:27
ecurren24-Jun-03 23:27 
GeneralRe: Name parser Pin
monrobot1325-Jun-03 3:00
monrobot1325-Jun-03 3:00 
GeneralRe: Name parser Pin
dynamic25-Jun-03 3:32
dynamic25-Jun-03 3:32 
here's an example to help you :
VB:
<font color="blue">Private</font> void richTextBox1_MouseMove(<font color="blue">Object</font> sender,System.Windows.Forms.MouseEventArgs e)
        {

        }


        <font color="blue">Private</font> void button1_Click(<font color="blue">Object</font> sender, System.EventArgs e)
        {
            <font color="blue">Try</font>
            {
                string str="Mr. D Sysop";
                string title=str.Split(<font color="darkgreen">' ')[0];</font>
                string initial=str.Split(<font color="darkgreen">' ')[1];</font>
                string surname=str.Split(<font color="darkgreen">' ')[2];</font>
                string result = "Title: " + title + "\n" + "Initial: " + initial + "\n" + "Surname: " + surname;
                MessageBox.Show(result);

            }
            <font color="blue">Catch</font>
            {
                System.Exception f=new System.Exception();<font color="#006400">//just incase of an error</font>
                MessageBox.Show(f.Message.ToString());
            }
        }



hope that helps a little Smile | :)



<font color="blue">Private void</font> ExpectingTwins(<font color="blue">string</font> twins)
    {    
    <font color="blue">switch</font>(twins)
    {
    <font color="blue">Case</font> ("twins on the way"):
        MessageBox.Show("for mr and mrs dynamic","twins on the way");
    <font color="blue">break</font>;
    }
    }




GeneralRe: Name parser Pin
leppie25-Jun-03 14:16
leppie25-Jun-03 14:16 
GeneralMemoryStream and RichTextBox Pin
haezeban24-Jun-03 23:11
haezeban24-Jun-03 23:11 
GeneralCursor coordinates in TextBox Pin
brian419024-Jun-03 22:08
brian419024-Jun-03 22:08 
GeneralRe: Cursor coordinates in TextBox Pin
brian419025-Jun-03 5:04
brian419025-Jun-03 5:04 
GeneralRe: Cursor coordinates in TextBox Pin
brian419025-Jun-03 5:29
brian419025-Jun-03 5:29 
GeneralEdit html document with mshtml Pin
benzite24-Jun-03 17:11
benzite24-Jun-03 17:11 
GeneralRe: Edit html document with mshtml Pin
J. Dunlap24-Jun-03 17:20
J. Dunlap24-Jun-03 17:20 
GeneralRe: Edit html document with mshtml Pin
benzite24-Jun-03 19:51
benzite24-Jun-03 19:51 
QuestionHow can I create a component in run-time and show it like as design mode? Pin
silver_ben24-Jun-03 16:06
silver_ben24-Jun-03 16:06 
AnswerRe: How can I create a component in run-time and show it like as design mode? Pin
John Fisher25-Jun-03 7:37
John Fisher25-Jun-03 7:37 

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.