We needed to use common Windows Forms control to show a simple toggle style small text box. We firstly wanted to use Textbox control, but later we found Textbox control is not good for toggling.
Then we found we can use Checkbox control, Checkbox provides a feature named Appearance, we can set its Appearance as a button:
Like the following code:
CheckBox toggleBtn = new CheckBox();
toggleBtn .Appearance = Appearance.Button;
toggleBtn .TextAlign = ContentAlignment.MiddleCenter;
toggleBtn .MinimumSize = new Size(25, 25); //set mini size
It worked great!
In today’s Microsoft Build 2016 event, Microsoft’s Scott Gu just announced that Xamarin will be available in Visual Studio family WITHOUT extra cost, even in the free edition of Visual Studio Community and Visual Studio Code. Xamarin Studio for OS X will be free as a community edition.
Also, Microsoft announced the Xamarin is open source. it will be one project of Microsoft’s open source family .NET foundation.
Please read more info from Xamarin official website.
Microsoft just announced acquiring Xamarin in end of last month.
I just read the BIG and GREAT news to all Microsoft technologies developers this morning. But I read it some lately: Microsoft has signed an agreement to acquire Xamarin !! This is really an existing news, and it happened 2 days ago (actually less than 48 hours ago).
All mobile developers and all Microsoft tech developers should know Xamarin, which is the leading platform provide for mobile app development !
Continue reading “Microsoft Signed Agreement to Acquire Xamarin”
WPF is such a great Microsoft software development technology. Its beautiful user interface implement and convenient object properties attached feature, was almost the final technology which was going to replace Windows Form technology;
Continue reading “WPF Walks Slowly”
If you recently research Windows 10 IoT with some hardware board such as Raspberry Pi, you should see the .FFU file, and you might realize you can not get enough information from Google search to know the .FFU file information.
Actually, .FFU file is more known by those Windows IoT developers, they download Windows 10 IoT Core package, and they will see .FFU file on the computer folder.
Continue reading “What is .FFU File ?”
Due to Scott Hanselman’s blog, Current ASP.NET was changed name to ASP.NET Core 1.0.
The main reason is that ASP.NET 5 is NOT a newer version which is to replace traditional ASP.NET (current version is 4.6), also, it is much more different with traditional ASP.NET;
“5 > 4.6 makes it seem like ASP.NET 5 is bigger, better, and replaces ASP.NET 4.6. Not so.”…….”.NET Core isn’t as complete as the full .NET Framework 4.6.”
ASP.NET 5 is now ASP.NET Core 1.0.
.NET Core 5 is now .NET Core 1.0.
Entity Framework 7 is now Entity Framework Core 1.0 or EF Core 1.0 colloquially.
Please read more info from Scott Hanselman’s blog.
Before we were using AnkhSVN plugin in Visual Studio, but sometimes we got unknown issues when we have multiple team members, so later we changed to VisualSVN plugin, we feels the new one is more stable.
Here is a sample which about how to add a project to SVN server using VisualSVN plugin in Visual Studio 2013.
All steps suppose you have installed VisualSVN plugin.
1: Right click the solution name in Visual Studio 2013, select “Add Solution to Subversion…”:
Continue reading “Using VisualSVN plugin to Add a Project on SVN Server in VS 2013”
If you bought something in this Black Friday (2015) sale day or week, you might have seen some products had become much hotter comparing previous years. The one type of product is smart home device, such as IP Camera with smart features, Smart Thermostat (from Google), Smart Lock, Smart Security Devices etc.
Let me give simple introduce info for several popular Smart Home Devices in current market:
Smart IP Camera: For example the camera from D-LINK. You put the camera somewhere in your home, it takes real time video for you. With its motion detect function, you can pre-set a small area for the motion detection, it will send you notice message to your smart cell phone (or tablet, or computer) as long as it detected the motion changing in this area;
Continue reading “It is the Time of Smart Home Devices and Systems”
Microsoft’s annual developer event Connect();//2015 was on held in Nov 18 and 19 in New York.
Continue reading “Microsoft New Things at 2015 Developer Event (Connect 2015)”
We posted simple DNX concept before, the DNX is .NET Execution Environment. By now I have acknowledged DNX was for cross-platform ASP.NET Web applications, also for cross-platform console applications. But I do not know whether DNX support Windows Form applications or WPF applications because the DNX is still on very early stage, not released formal version yet.
DNX has actually 3 editions:
1: DNX for .NET framework, which only supports Windows system;
2: DNX for .NET core, which can be run on Windows, Linux and OS X systems. The .NET core includes a subset of the .NET Framework.
Due to my personal understanding, comparing .NET core with .NET framework, the difference is just simplified think .NET core is a kind of new “.NET framework” which is supporting Windows, Linux, OS X etc. if a .NET application was working on .NET Framework, it needs to be rebuilt on .NET core.
3: DNX for Mono: Mono supports Window, Linux and OS X, but it was not from Microsoft, it is an open source project which was started very early, so it support .NET very well on different platforms.
Here is a ASP.NET official article about choosing the right .NET for you on the server.