Quantcast
Channel: Programming – Xinyustudio
Browsing all 284 articles
Browse latest View live

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.

Back office vs front office

I found a good article explaining the difference of back and front office, the original article is here. To be simple, here are some of the ideas: Filed under: General, Programming

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.

Dissecting Solidworks Property Manager Tree Hierarchies with Spy++

Using Spy++, one can easily find the correspondence of the SolidWorks Property Manager Tree’s hierarchies: The first button, with caption “ ” is the expand button, and the five tabs correspond to the...

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.

Installing OpenSceneGraph (osg) on windows

If you would like to install OpenSceneGraph on windows, and would like to add necessary paths to system variables automatically, you can use a batch file to save your day. The procedures will be quite...

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# Unity3D: The name `AssetDatabase’ does not exist in the current context;...

One of the most likely reason for this problem is the lack of using some namespace! Similar errors apply for “error CS0246: The type or namespace name `TextureImporterSettings’ could not be found. Are...

View Article


Image may be NSFW.
Clik here to view.

Install Eclipse Git Plugin: A Quick Tutorial

There has been a very good, but lengthy tutorial here, but if you have been comfortable with Git, and just want to commit, pull or push your code to and from GitHub or Bitbucket, the below measures...

View Article

Image may be NSFW.
Clik here to view.

Android tab control: the old way

Create a new android project in Eclipse Create two (as many as you like) activities in Eclipse: Right click the Package Exporer, New > Other, or press Ctrl + N; Select Android Activity, name it...

View Article


Image may be NSFW.
Clik here to view.

Android tab control: the new way

Android SDK now deprecated TabActivity, as you can see the strike through symbol in previous post. Using the new Android SDK, it is preferred to use Fragment instead, and it is also pretty easy. Create...

View Article

Image may be NSFW.
Clik here to view.

Android Image Button: transparent background and custom pressed icon

In android app development, image button with transparent background is frequently used. The most easy way to have a transparent background is to use the “@null” value for the background. <ImageView...

View Article


Image may be NSFW.
Clik here to view.

Unity 3D: Automatic anchors for interactive cloth

In Unity 3D, if you wish to add interactive cloth in your scene, most probably you need bring in some anchor points, which instruct the cloth which site remains static and fixed. This is a tedious...

View Article

Image may be NSFW.
Clik here to view.

Install python setuptools (easy install) on windows

It is very easy but you need to have a look at the documentation. Below are the quick steps to install “setuptools” for python. Download this ez_setup.py and save it to hardisk. Open a cmd window, and...

View Article

Image may be NSFW.
Clik here to view.

Getting maya path programmatically: Python and C# Code

In automating maya to do some custom job, the maya installation folder is usually needed. Though one can hard code this as, for example, path=”C:\\Program Files\\Autodesk\\Maya2014\\”, this is not the...

View Article
Browsing all 284 articles
Browse latest View live