This tutorial is about a multi-page application in WPF, in other words an application that just have one window but it has multiple page. Actually, this is the WPF version from multi-page Silverlight application. The solution is quite cool but simple, here’s the steps: 1. Create WPF Application project in Visual Studio (2008 or 2010) [...]
Archive for the ‘C#’ Category
Multi-Page Application in WPF
Posted: April 23, 2010 in C#, ProgrammingTags: Multi Page, Windows Presentation Foundation
Farseer Physic Engine merupakan 2D Physic engine (betul, hanya 2D) yang dapat digunakan pada platform silverlight, WPF, XNA, dan XBOX 360. Farseer physics dirancang untuk mengontrol posisi dan rotasi suatu entitas dalam game tiap satuan waktu berdasarkan hukum fisika yang berlaku Dalam dunia nyata, benda bergerak dan berputar karena gaya diterapkan dan torsi. Begitupula dalam Farseer. [...]
Simple Procedural Workflow using Windows Workflow Foundation 4.0
Posted: April 18, 2010 in C#, ProgrammingTags: .NET 4.0, Visual Studio 2010, Windows Workflow Foundation 4.0
In this article, i will explain following below in Windows Workflow Foundation 4.0: Simple sequence Variables Arguments if-else activity First, open your Visual Studio 2010, and create a new project and the template is “Workflow Console Application” Then… you will see workfow designer, in toolbox, click “sequence” and drag it into workflow designer [...]
There is two new operator in .NET 4.0, goes to and is approached by ( –> and <– ), Oh yeah… it is not pointer like in C++ Let see how it is working : The output is : 9876543210 The output is : 987654321 Okay… Do you smell anything strage?
A globally unique identifier or GUID is a special type of identifier used in software applications to provide a unique reference number. The value is represented as a 32 character hexadecimal character string, such as {ff478f2d-e398-449a-93d4-62b0727} and usually stored as a 128 bit integer. The primary purpose of the GUID is to have a totally [...]
Dynamic Workflows with XAML
Posted: April 17, 2010 in C#, ProgrammingTags: .NET 4.0, Visual Studio 2010, Windows Workflow Foundation 4.0
Dynamic workflows provide some interesting possibilities for programs that want to generate business logic or make a runtime decision on which business logic to load and run. In this tutorial, i will use exiting code that already created here. Fisrt, in Solution Explorer, rename file Workflow1.xaml into MyWorkflow.xaml. Oh yeah, do not forget to change [...]
Simple Hello World using Windows Workflow Foundation 4.0
Posted: April 16, 2010 in C#, ProgrammingTags: .NET 4.0, Visual Studio 2010, Workflow Foundation 4.0
Here i will create a simple “Hello World” application using Windows Workflow Foundation 4.0 or WF 4.0. Oh yeah, what is Windows Workflow Foundation ? Windows Workflow Foundation is a Microsoft technology for defining, executing, and managing workflows, the detail about Workflow Foundation is here. First we will create new project, choose “Workflow Console Application” [...]
I get something weird when i want to test my silverlight application, my silverlight website is not loaded properly… when i run my application, it get stuck in loading animation. Oh yeah… the other bad thing is, my Expression Blend 3 is not giving any error message (yup… Blend is very bad when we need [...]
Simple Example of NHibernate and SQL Server 2008
Posted: April 1, 2010 in C#, Database, ProgrammingTags: C#, Database, NHibernate, SQL Server 2008
In this article, i will create a simple application that implent NHibernate, and in database side, i will use SQL Server 2008. What is NHibernate ? I will not explain it in there, so many explanation what it is in internet, like in here. You can download latest NHibernate version here. First, i will create [...]
XNA – Skydome
Posted: January 31, 2010 in C#, Game Programming, XNATags: 3D, Game Programming, Skydome, XNA
Skydome, is a simple sphere that representating virtual sky. Skydome have better realistic looking than skybox but it need advanced texturing. In this article, i’m using simple .x model file (full sphere) and a sky texture to creating skydome. First, we need these fields :



