My Mini C# Lab

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?R3VpbmVhcGln?=

    My Mini C# Lab

    Hi, I just wrote a mini C# lab for myself, I think it may be useful for
    others, so I shared it on my blog.
    If you often need to write only serveral lines of code and don't want to
    waste time on waiting for Visual Studio startup, maybe you will be interested
    in it.
    Did this ever occur to you? You wanted to write several lines of C# code to clarify some syntax or parameter format, or you needed a one-time program...

  • BlackWasp

    #2
    Re: My Mini C# Lab

    Nice

    --

    BlackWasp



    "Guineapig" <guineapig@anti _spam.com.twwro te in message
    news:92E20451-43BB-488F-B011-62848A65A454@mi crosoft.com...
    Hi, I just wrote a mini C# lab for myself, I think it may be useful for
    others, so I shared it on my blog.
    If you often need to write only serveral lines of code and don't want to
    waste time on waiting for Visual Studio startup, maybe you will be
    interested
    in it.
    http://blog.darkthread.net/blogs/dar...sharp-lab.aspx

    Comment

    • Andrus

      #3
      Re: My Mini C# Lab

      How you created c# syntax coloring editor ?
      Where to find source code of this application ?

      Andrus.

      "Guineapig" <guineapig@anti _spam.com.twwro te in message
      news:92E20451-43BB-488F-B011-62848A65A454@mi crosoft.com...
      Hi, I just wrote a mini C# lab for myself, I think it may be useful for
      others, so I shared it on my blog.
      If you often need to write only serveral lines of code and don't want to
      waste time on waiting for Visual Studio startup, maybe you will be
      interested
      in it.
      http://blog.darkthread.net/blogs/dar...sharp-lab.aspx

      Comment

      • =?Utf-8?B?R3VpbmVhcGln?=

        #4
        Mini C# Lab Ver 1.1

        New features:
        1.Remove terrible Ctrl-X shortcut key to exit
        2.You can add additional assembly references
        3.Support .NET 3.5
        You can get more detail from here:
        After Mini C# Lab 1.0 was released, I got good suggestions from friends.&nbsp; I agree that these improvements can make Mini C# Lab handier, so I add...

        Comment

        • =?Utf-8?B?R3VpbmVhcGln?=

          #5
          Re: My Mini C# Lab

          After Mini C# Lab 1.1 was released, the most frequently asked quesitons are:
          1) Could it support VB.NET? 2) Where is the source code?

          Now, here comes Mini C# Lab ver 1.2 and some wishful features are added.

          First, it supports VB.NET now! Yes, **VB.NET**!! Although it's Mini "C#"
          Lab, many people still want to use it to test VB.NET code. I found that the
          CodeDomProvider provides the abstract class concept, so we can use the almost
          same code to add VB.NET support easily. Since it's not difficult at all,
          thanks to .NET RD team, I put the VB.NET support into Mini C# Lab ver 1.2.

          Second, since many people asked about the source code, here you are. In my
          life of coding, I learned a lot from open source projects and always believe
          the spirit of sharing over Internet makes the world better day by day. So,
          here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
          interested in how it works, you can find the source code there. One more
          thing, if you find any lousy or dirty code inside my source, please let me
          know.

          Since it's on CodePlex now, besides my blog, you can give your feedback on
          CodePlex, too. Thank you!

          Blog:
          After Mini C# Lab 1.1 was released, the most frequently asked quesitons are: 1) Could it support VB.NET?&nbsp; 2) Where is the source code? Now, here...

          CodePlex: http://www.codeplex.com/minicsharplab

          "Andrus" wrote:
          How you created c# syntax coloring editor ?
          Where to find source code of this application ?
          >
          Andrus.
          >
          "Guineapig" <guineapig@anti _spam.com.twwro te in message
          news:92E20451-43BB-488F-B011-62848A65A454@mi crosoft.com...
          Hi, I just wrote a mini C# lab for myself, I think it may be useful for
          others, so I shared it on my blog.
          If you often need to write only serveral lines of code and don't want to
          waste time on waiting for Visual Studio startup, maybe you will be
          interested
          in it.
          http://blog.darkthread.net/blogs/dar...sharp-lab.aspx
          >
          >

          Comment

          • Andrus

            #6
            Re: My Mini C# Lab

            Guineapig,
            Second, since many people asked about the source code, here you are. In
            my
            life of coding, I learned a lot from open source projects and always
            believe
            the spirit of sharing over Internet makes the world better day by day.
            So,
            here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
            interested in how it works, you can find the source code there. One more
            thing, if you find any lousy or dirty code inside my source, please let me
            know.
            Thank you.
            Ideas:

            1. Allow embedding. Create a static method which accepts script as string,
            returns modified
            script and can be called from other application to embed mini-lab to
            application.

            2. Change code font to fixed-width.

            3. Use http://www.codeproject.com/KB/cs/cs-script_for_cp.aspx as script
            engine, it has some more possibilites and automatic
            assembly reference adding.

            4. Use Searchable controls to add find/replace to RichTextBox ?

            new version: http://jimblackler.net/SearchableControls.zip

            Andrus.

            Comment

            Working...