Quantcast
Channel: Dotnet/C# – Xinyustudio
Browsing all 204 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to use WPF AvalonWizard control (I)

The AvalonWizard control is a handy WPF wizard control. To use it in your project, follow below procedures: 1. In your project, add a reference to the AvalonWizard assembly. You can right click the...

View Article


Image may be NSFW.
Clik here to view.

How to use WPF AvalonWizard control (II): Adding event handlers

In my previous post, we have discussed on how to get started with AvalonWizard. Yes, we need do sth else to make it work for our project. In this post, I will demonstrate how to add some logic to...

View Article


Image may be NSFW.
Clik here to view.

Multi-cursor of Sublime Text Editor, Box Selection, Multi-Line Editing with...

The sublime text editor has a feature called multi-cursor, and it is good to know VS 2010 also has a “Box selection” feature. Hope this is useful to programmers~ Filed under: Dotnet/C# Tagged: box...

View Article

Image may be NSFW.
Clik here to view.

Remove unused languages/cultures from WPF/silverlight applications

If you ever used Microsoft Blend to open your WPF applications, you will find that in the output folder there are some satellite dlls in the form of fr, de, zh etc. To remove these unused languages...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2010, 2012 Very slow and the solution

I have installed VisualStudio 2010 for quite some time but suddenly it becomes very, very slow, and opening a project with dozens of files will take over 3-4 minutes, but it used to work very fast, on...

View Article


Image may be NSFW.
Clik here to view.

WPF Tooltip control: Tips & Tricks

1. How to add multi-line tooltip?For button control, you can wrap the tooltip string in a TextBlock element, and then use either <LineBreak/> or &#x0a in the tooltip string.     If you set...

View Article

Image may be NSFW.
Clik here to view.

Create Solidworks addin in Visual Studio 2012

Up to now, Solidworks had released its 2013 sp2.0 version, and its API is updated to v21.2.0.50, but once you installed the API, you will not see the addin wizard appear in Visual Studio 2012. One...

View Article

Image may be NSFW.
Clik here to view.

Rhino C# Development (I) : Get Visual Studio Wizard ready

1. Go to http://www.rhino3d.com/new/dev to download the SDK. Unzip the file, and you will see 4 files: 2. Unzip the file “Rhino4DotNetWizards.zip”, and you will see two files Double click on the...

View Article


Image may be NSFW.
Clik here to view.

Rhino C# Development (II) : HelloRhino

If you have not got Rhino Visual Studio working, see this post to get it done. 1. In Visual Studio, create a new project, in the opened dialog, type “rhino” in the upper right filter field: 2. Click Ok...

View Article


Image may be NSFW.
Clik here to view.

Rhino C# Development (III) : Add Winform UI to Rhino

Rhino C# Development (I) : Get Visual Studio Wizard ready Rhino C# Development (II) : HelloRhino Now that we are able to talk with Rhino, let’s add our own UI to Rhino. In Rhino 5 with RhinoCommon SDK...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2012 update: offline / standalone download

1. Go to this Link, to get the latest update. 2. Download the latest update, following the link above. Note: do not install, simply download it. 3. Once the package is downloaded, an iso file will be...

View Article

Image may be NSFW.
Clik here to view.

C#: programmatically get and set non-unicode languages for windows OS

We know that we can use English version of Windows and at the same time to display non-unicode texts such as Chinese and Japanese etc. The procedures are as follows: Control Panel > Region >...

View Article

Image may be NSFW.
Clik here to view.

C# Command Line Parser Library Example

Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments. It is very easy to incorporate this library into your C# project. To install Command Line...

View Article


Image may be NSFW.
Clik here to view.

Get the boundary of a mesh: the algorithm and C# implementation

Given a mesh, we might occasionally want to filter those internal vertices and keeps only the outline or silhouettes. But how to do that? The problem came to my mind several years ago, when the...

View Article

Image may be NSFW.
Clik here to view.

Text morphing: Rectangle to text

Filed under: Dotnet/C#, Programming Tagged: C#, mesh, morphing, OpenGL, rectangle to text, text

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2013 Ultimate ISO download and offline installation:...

Visual Studio 2003 was released, with quite a few exciting features. If you wish to get the offline iso installer, click below links (official iso from Microsoft) to download. However, even if you...

View Article

Image may be NSFW.
Clik here to view.

Rhino C# Development (IV) :Using new RhinoCommon API to develop Rhino3D .net...

Rhino3D has changed its .net plugin development implementation. Although you can still use the Rhino.NET SDK to create Rhino plug-ins with the same capabilities as Rhino C++ SDK developers, however,...

View Article


Image may be NSFW.
Clik here to view.

Rhino C# Development (V) : Create and dock Rhino Panels side-by-side

In my previous blog Rhino C# Development (III) : Add Winform UI to Rhino, I demonstrated how to create a dock bar with Winform User controls in Rhino3D. In this blog I am to demonstrate how to use a...

View Article

Image may be NSFW.
Clik here to view.

Extending Unigraphics NX using C# (IV) : Recording journals

The concept of journaling is similar as the recording macros in SolidWorks. Before clicking the record journal button on the Jorunal Toolbar: Do the following:   Then start recording journals, click...

View Article

Image may be NSFW.
Clik here to view.

Using .Net object in Matlab

Matlab ’s function is power, but not enough. Sometimes, you need some functionality from .net. One example is the Bezier curve class, which is absent in Matlab. In this example, I created a C# class...

View Article
Browsing all 204 articles
Browse latest View live