Click here to Skip to main content
13,253,118 members (50,832 online)
Click here to Skip to main content
Add your own
alternative version


179 bookmarked
Posted 4 Jan 2012

A Restaurant and Waiter helper app in WPF and Windows Mobile

, 22 Jan 2012
Rate this:
Please Sign up or sign in to vote.
A Restaurant and Waiter helper app in WPF and Windows Mobile



In 2009 when I was a student in Southern Cross University of Australia (SCU), I was supposed to do a project as my final project. It was quite a while that I was heard about Windows Presentation Foundation (WPF) and I was in love with that. So I thought it would be great if I create a WPF application as my final project. So I decided to write an application to learn WPF in action and this project came to existence. After that, when I graduated from SCU I decided to make a video demo of the app in action and put that on the Youtube.

<object codebase=",0,0,0" data="" height="360" type="application/x-shockwave-flash" width="640"><param name="movie" value="" /><param name="quality" value="high" /><param name="wmode" value="transparent" /></object>


After putting this video on Youtube, I received many feedback and requests from students in academia to share the code with them. They were interested in how I had created this app using WPF technology. I hadn't decided to share the code in public mostly because it was my first try on WPF and I knew that it is not well developed to be considered a guide for new learners. In fact, I was a newbie in WPF and I didn't want to put others in a wrong direction. Therefore, when I was receiving such requests I was forwarding them to the open source Family.Show application from Verrtigo and Pro WPF in C# book by Matthew MacDonald that were among my best resources in learning WPF.

It's almost 3 years passed now from when I did this project but I still receive such requests and feedback from academia students. To be honest, I am tired of replying such insistent student who ask for the code even though I reveal this fact with them. Therefore I've decided to share the source code of the app with everyone who is interested by the subject as is.

But I highly emphasize that this is a project that was done by a WPF newbie, hence you should consider that there might be better ways to do the things that were done in this application in terms of coding, designing and etc. In fact, If I'd wanted to create this application now, I would do that differently and in a more standard way.

Anyway, here is the whole thing you need to know about this project.


This project consists of two separate parts; Restaurant app and Waiter app. The Waiter app is a Pocket PC based application based on Windows Mobile 5 that helps waiters to place customers’ orders besides getting informed of orders’ states to serve them to customers. This application works in an online environment in a WiFi network.

On the other side, the Restaurant app is a PC application based on WPF which is used in three different stations by three different users; Manager, Kitchen organizer and Cashier. The Manager, defines users of the applications and assigns different permissions to them. Moreover, he/she can defines initial data of the application and also can get different reports by the app. Kitchen organizer uses the Restaurant application to be informed of new or edited orders to prepare them besides, updating orders state and also availability of orders’ items. And finally the Cashier, who will use this application for printing receipt and doing check out processes.

Important notice: I definitely know that the processes inside Restaurants might be different in real situations. Better say, the processes in this application are just imaginary.

Using the code

After you download the files, you should attach the database files in Microsoft SQL Server 2005 or higher versions. Then you need to change the connection strings used in both Restaurant and Waiter apps accordingly.

For changing the connection string in the Restaurant app, open Settings.settings file in visual studio and change ConnectionStr property to point to your SQL Server instance.

Setting the connection string for the Waiter app will be done through frmConfiguration form.

That's it! Hope it helps.


Keep in touch!

If you are interested to check my new apps, please ckeck



This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


About the Author

Ali Daneshmandi
Software Developer neatUX
Canada Canada
XAML Designer & Developer | Passionate about UX | Founder of

Follow me on Twitter at: @daneshmandi
My websites:

You may also be interested in...


Comments and Discussions

Questionunknown build error Pin
Member 129715521-Jun-17 6:41
memberMember 129715521-Jun-17 6:41 
PraiseRestaurant Application Pin
Member 1269471228-Nov-16 5:13
memberMember 1269471228-Nov-16 5:13 
PraiseGood Job! Pin
Vaughn Ellis26-Jul-16 18:56
memberVaughn Ellis26-Jul-16 18:56 
Questionmy vote 5 Pin
Tornike Xmaladze26-Dec-15 11:14
memberTornike Xmaladze26-Dec-15 11:14 
QuestionCan't connect to database from mobile app Pin
burhankaraman8-Nov-15 0:37
memberburhankaraman8-Nov-15 0:37 
QuestionRestaurant and Waiter helper app in WPF and Windows Mobile Pin
Chetna Rizwani6-Oct-15 5:10
memberChetna Rizwani6-Oct-15 5:10 
QuestionPrinting Orders Pin
Hernan Olivieri20-May-15 10:58
memberHernan Olivieri20-May-15 10:58 
GeneralMy vote of 5 Pin
TrushnaK19-Dec-14 20:31
memberTrushnaK19-Dec-14 20:31 
QuestionDatabase Not Connected Pin
Member 1042243915-Nov-14 5:46
memberMember 1042243915-Nov-14 5:46 
QuestionCan't Login Pin
Member 1034969823-Oct-14 8:59
professionalMember 1034969823-Oct-14 8:59 
GeneralMy vote of 1 Pin
Member 1088304817-Jun-14 4:41
memberMember 1088304817-Jun-14 4:41 
GeneralThanks Pin
Member 102322978-May-14 21:07
memberMember 102322978-May-14 21:07 
QuestionPlease help cant connect Emulator to Restaurant app Pin
Rahat.p17-Feb-14 5:03
memberRahat.p17-Feb-14 5:03 
Questionthank you Pin
tejasdubal1-Dec-13 17:51
membertejasdubal1-Dec-13 17:51 
Questionhelp with connection string and codes Pin
Member 1005198914-May-13 23:10
memberMember 1005198914-May-13 23:10 
QuestionHow to setup connection string using frmConfiguration Pin
Digi Baba27-Apr-13 5:19
memberDigi Baba27-Apr-13 5:19 
AnswerRe: How to setup connection string using frmConfiguration Pin
Member 85537401-Jul-13 22:10
memberMember 85537401-Jul-13 22:10 
Questionreceipt printer Pin
mahmoudadel2-Mar-13 9:20
membermahmoudadel2-Mar-13 9:20 
QuestionWhat are the user names and passwords of this system Pin
Nuwan Thilina20-Feb-13 0:00
memberNuwan Thilina20-Feb-13 0:00 
Questionthanx Pin
mahmoudadel12-Feb-13 2:28
membermahmoudadel12-Feb-13 2:28 
GeneralMy vote of 5 Pin
yeng thao2-Feb-13 7:27
memberyeng thao2-Feb-13 7:27 
GeneralMy vote of 5 Pin
Wahab Hussain7-Dec-12 7:57
memberWahab Hussain7-Dec-12 7:57 
GeneralMy vote of 5 Pin
jawed.ace8-Nov-12 4:15
memberjawed.ace8-Nov-12 4:15 
GeneralMy vote of 5 Pin
SameerNA14-Oct-12 4:49
memberSameerNA14-Oct-12 4:49 
QuestionWaiter app in VS2010 Pin
volley198914-Sep-12 11:07
membervolley198914-Sep-12 11:07 
AnswerRe: Waiter app in VS2010 Pin
Ali Daneshmandi15-Sep-12 6:42
memberAli Daneshmandi15-Sep-12 6:42 
GeneralRe: Waiter app in VS2010 Pin
volley198917-Sep-12 12:43
membervolley198917-Sep-12 12:43 
AnswerRe: Waiter app in VS2010 Pin
volley198920-Sep-12 7:00
membervolley198920-Sep-12 7:00 
GeneralRe: Waiter app in VS2010 Pin
Ali Daneshmandi20-Sep-12 11:44
memberAli Daneshmandi20-Sep-12 11:44 
GeneralRe: Waiter app in VS2010 Pin
volley198920-Sep-12 23:59
membervolley198920-Sep-12 23:59 
QuestionPassword Pin
Joan Kay21-Aug-12 14:29
memberJoan Kay21-Aug-12 14:29 
AnswerRe: Password Pin
Ali Daneshmandi21-Aug-12 22:00
memberAli Daneshmandi21-Aug-12 22:00 
GeneralRe: Password Pin
Joan Kay3-Jul-13 21:59
memberJoan Kay3-Jul-13 21:59 
QuestionExcellent Pin
RugbyLeague3-Aug-12 8:23
memberRugbyLeague3-Aug-12 8:23 
GeneralMy vote of 5 Pin
Christian Amado3-Aug-12 8:16
memberChristian Amado3-Aug-12 8:16 
Questionhow to update the transparent WPF window Pin
showny20-Jun-12 21:15
membershowny20-Jun-12 21:15 
Questionrestaurant project Pin
ugur35_3512-Jun-12 22:02
memberugur35_3512-Jun-12 22:02 
AnswerRe: restaurant project Pin
Ali Daneshmandi12-Jun-12 23:32
memberAli Daneshmandi12-Jun-12 23:32 
GeneralRe: restaurant project Pin
pigu200925-Nov-13 14:38
memberpigu200925-Nov-13 14:38 
QuestionHow to "check_out_a_table" Pin
Member 423688912-Jun-12 19:03
memberMember 423688912-Jun-12 19:03 
AnswerRe: How to "check_out_a_table" Pin
Ali Daneshmandi12-Jun-12 20:50
memberAli Daneshmandi12-Jun-12 20:50 
QuestionPassword Pin
rigelfb8-Jun-12 12:53
memberrigelfb8-Jun-12 12:53 
QuestionHow to hide cancel orders? Pin
Member 423688929-May-12 12:44
memberMember 423688929-May-12 12:44 
AnswerRe: How to hide cancel orders? Pin
Ali Daneshmandi29-May-12 20:17
memberAli Daneshmandi29-May-12 20:17 
QuestionThank you very much, 5 Pin
Member 423688927-May-12 12:31
memberMember 423688927-May-12 12:31 
AnswerRe: Thank you very much, 5 Pin
Ali Daneshmandi27-May-12 20:34
memberAli Daneshmandi27-May-12 20:34 
GeneralMy vote of 5 Pin
manoj kumar choubey19-Apr-12 23:54
membermanoj kumar choubey19-Apr-12 23:54 
QuestionVery Nice Application Pin
Sathish Kanna19-Apr-12 6:59
memberSathish Kanna19-Apr-12 6:59 
Generalthanks Pin
enessakrak12-Apr-12 0:52
memberenessakrak12-Apr-12 0:52 
GeneralThanks Pin
per1per226-Mar-12 3:25
memberper1per226-Mar-12 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171114.1 | Last Updated 23 Jan 2012
Article Copyright 2012 by Ali Daneshmandi
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid