DCSIMG
WPF,C# - Maxim

Browse by Tags

All Tags » WPF » C# (RSS)
Some .Net applications are required to run as single instance process (at startup, each process “ensures” that he’s unique). This requirement may come from licensing issues, technical and/or other reasons. Quick search in Google will provide a variety of solutions , most of them are based on WindowsFormsApplicationBase object from VB.Net, usage of Mutex object and other techniques. I don’t like mixing VB with C#, and also Win-Forms solution isn’t “pure” enough for WPF applications. So I wrote my...
This solution can be used in WPF and in WinForms (with some improvements). Many times UI programmer needs to activate window, the activation can be done by using “Activate()” function in window. The problem is that this function will not show window if it is minimized. In that case you can use this workaround: using System ; using System.Windows ;   namespace Test {        public partial class MyWindow        {              ...
Many 3D editors can export 3D scenes as OBJ files, these files can be easily imported into WPF project and being used to build complex 3D scenes. See how easy to import 3D scene from 3D editors....
In resumption to my previous post “ How to import 3D model to WPF from 3D Max ” I want to present the “ XAML exporter for Blender ” ( Blender is an open-source cross-platform 3D designer). if(Blender.Name == Blend.Name) {      Debug.WriteLine(“Wiiiiii !!!! :)”); } This post will guide you how to use this feature thru simple example. Software requirements for this guide: Blender 2.48a or later, Microsoft Expression Blend 2.0 (Final Release). SDK and Framework requirements: Microsoft...
I want to present very useful feature “ XAML exporter for 3D Studio Max ”. This feature contains number of MAX-Script files with code that allows exporting 3D scenes from 3D Studio Max to XAML files. “Max2Xaml” Project on Codeplex website: http://max2xaml.codeplex.com . I’ll try to present a simple guide for this feature with some useful example. Software requirements for this guide: 3D Studio Max 2007 or later (I use 3D Studio Max 2009 ), Microsoft Expression Blend 2.0 (Final Release). SDK and Framework...
זהו פוסט המשך לפוסט הקודם , אשר שייך לסדרת הפוסטים בנושא UI . בפוסט זה אציג חבילת כלים MS Expression Studio. לפני שאעבור לכלי פיתוח אני רוצה להציג מבנה כללי של דוט-נט אשר עומדת בבסיס של כלי הפיתוח שאפרט בהמשך: Dot-Net Frameworks: 1.0 - 3.0 כל החבילות הנן בעלות מבנה שכבתי-לוגי הבא: שלש שכבות תחתונות (שכבות הבסיס): - Common Language Runtime - CLR : רכיב של מכונה וירטואלית של דוט-נט. נמצא מעל Common Language Infrastructure - CLI, זוהי שפת ביניים של מכונה וירטואלית, שפה זו מתארת קוד שמתבצע במכונה, שימוש...
Analog clock is very cool feature, most windows users like analog clocks, we can find them in Google-Gadgets and other desktop programs. I've written custom control a few years ago (in .Net 1.1) and rediscovered it two weeks ago in some of my projects. It is very simple (can be extended and improved) and provides clear example how to build custom controls in .Net (C#). Challenge for those who moved to WPF: if you have some time and motivation, please write analog clock in WPF and publish the...