Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Can anyone please suggest me a good open source C# code editor control with syntax highlighting and intellisense to use in my application. I am not asking for any IDE like VS or #develop, I need only a winform code editor control so that I can use it in my application for scripting.
Can you please suggest me a good one ...
I found ScintillaNET, but I want some other alternative..
Sounds like you want something like Avalon Edit:
http://www.codeproject.com/KB/edit/AvalonEdit.aspx
The editor for SharpDevelop, but its also a component you can download and use on your own stuff.
It is possible to host #Develop in your application,
http://laputa.sharpdevelop.net/AnnouncingSharpDevelopForApplicationsSDA.aspx
Wpf Source Code Editor is an alternative for ScintillaNET
I used the SharpDevelop code to do this a while back. Another alternative might be to take a look at the code for MonoDevelop and see if you can pull out the part you need and reuse that. Technically MonoDevelop is a fork of SharpDevelop but its been a long time so they might be completely different now.
After considering all the options I decided to go for ScintillaNet, cause it is very easy to use.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want create my own IDE but I want a code editor that would
syntax highlighting.
I want to embed it as a control into a WPF window.
Malcolm
The Sharp Develop IDE has a great code editor that can be used in your programs relatively easily (it does require a little bit of work to figure out how it works, and it doesn't have "plug and play" documentation). If you look at the source for Kaxaml you can see how to embed it in WPF.
If you do not mind having no documentation whatsoever, AvalonEdit is a good choice. I am currently using for a project, and it is a great tool. I have not encountered a single bug even in complex scenarios.
You can find its source at svn://svnmirror.sharpdevelop.net/sharpdevelop/trunk/SharpDevelop/src/Libraries/AvalonEdit.
Another option is Scintilla.NET (UPDATED https://github.com/jacobslusser/ScintillaNET).
It is a .NET 2.0 wrapper around the Scintilla Native Control. We have successfully used to display/edit HLSL, XML, Text, and other internal scripting languages. It is easy to write a language description file for your own language if needed.
I'm currently hosting the WinForms control in our WPF applications. The only difficulty was getting a WPF context menu to activate when clicking within the control; solved it by listening for a MouseRightButtonDown event on the WinFormsHost and then setting the ContextMenu visible (ContextMenu.IsOpen = true) :/
I have been in contact with Actipro Software re: SyntaxEditor and the WPF version is being actively developed and will available soon. For the time-being we will continue to use Scintilla.NET
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am developing a Windows GUI Application. I need a tool to create a prototype design. Please help me to find the best tools? Thanks.
Visio have some stencils for Windows GUI which can be used to prototype a design.
Another option is to use the Visual Studio designer (for either WPF or WinForms) and just layout the forms, without any code.
It really depends on whether you want a free tool or a paid for one, plus what technology you're going to use in the long run.
For winforms, Anders answer is probably best.
If you're aiming at using Silverlight or WPF then I'd recommend Expression Blend as you can produce a rough working GUI design and quickly transform it into working code.
Microsoft SketchFlow seems like a quite good tool.
You can create more or less working prototypes, the standard skin of the prototypes are pencil-sketch style to give the viewer a feeling that the prototype is just a prototype and not a working application.
If you want to show examples of final look'n feel you can just use the regular WinForms or WPF designer.
I use this one a lot. It's easy to put stuff together and there is a wealth of addons to meet your gui needs.
Balsamiq
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a WPF and C# application, and I want to know if it can be ported to silverlight. Is there a tool to analyse the dependencies and tell me what I can't use, and what I can ?
Thanks.
As far as I know there is not. The best way to find out is to create a Silverlight project and copy your code across, then start analysing all the build errors. It is not a great solution, but I don't know of any better way.
As an aside, there is a nice white paper that details the differences between WPF and Silverlight here:
http://wpfslguidance.codeplex.com/Release/ProjectReleases.aspx
I have not seen such tool, but there is WPF compatibility list on MSDN which i use.
I've just remembered that when I tried to port a C# app to Linux/Mono I used Moma analyser, it helps to identify issues you may have when porting a .Net application to Mono, and I know that Mono only implement Silverlight not WPF, so I will give it a try.
And you can see and change the data for what Moma consider to be implemented or not. In the Definition directory there is a 2.8-4.0-defs.zip file, inside there are 4 text files exception.txt, missing.txt, monotodo.txt, and version.txt, it is 3 lists of functions that will produce errors. So maybe someone can scrape the info about what Silverlight implements, and change the files accordingly.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've been thinking for a while in my head and I've not been able to find the solution to it ! Please help me.
I've always loved the visual studio tabs and how they look. They're small and perfect. The normal .NET TabControl, well is plain and boring! I've seen these tabs being used in many applications. My question is:
Is there a DLL that is available that has this kind of tabcontrol?
Here's a picture for reference:
You need "DockPanel Suite by mtwombley, spudcud, weifenluo".
It's an awsome open-source project, and you can get it at http://sourceforge.net/projects/dockpanelsuite/
I was looking for the same thing. A tab control with VS-like tabs.
DocPanel Suite is great, but it's like filling a hole with a bulldozer. Here is an extension of the existing tab control that does what I was looking for:
http://www.codeproject.com/Articles/91387/Painting-Your-Own-Tabs-Second-Edition
found this googling
http://www.freevbcode.com/ShowCode.asp?ID=3266
Telerik has a great TabStrip product whether you are looking for WinForms, WebForms, WPF, Silverlight, or MVC. All of these tabs can be customized and they come with some great default styles, you can find many more (including some VS templates) online, or you can create your own, which isn't that hard. They even provide a tool to help you create your own. Some of their products cost money and some are free, so it depends on what you're looking for.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm basically looking for a replacement for RichTextBox or TextBox components that is fully written in c# without using pinvokes in order to keep cross platform compatibility.
RichTextBox contains for example functionality to highlight URLs in the text and provide a handler for event when user clicks on the link. But there is no way to specify what regex is used for that highlighting so there is no way to add support for URI schemes other than http/https.
Mono's RichTextBox is written in C# and is open source:
http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs
It will take some work to separate it from Mono and get it running the way you want it, but it's better than starting from scratch.
Take a look at GtkSharp with TextView. It is cross-platform.
This might be a little overkill for what you're looking for, but have you considered SyntaxEditor from Actipro? (http://www.actiprosoftware.com/Products/DotNet/WindowsForms/SyntaxEditor/Default.aspx)
Yes, it is a commercial (i.e. not free) product, but it is capable of doing what you wanted, and more. Its 100% managed code, and supports some language plugins, e.g. a web-language add-in.
Might be worth a look.
The text editors with SharpDevelop and MonoDevelop may be useful.