Click here to Skip to main content
Click here to Skip to main content

A Restaurant and Waiter helper app in WPF and Windows Mobile

, 22 Jan 2012 Ms-PL
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 type="application/x-shockwave-flash" codebase=",0,0,0" WIDTH="640" HEIGHT="360" data=""></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 were interested to know what am I doing now? Please feel free to visit me at


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 DAN
Canada Canada
XAML Designer & Developer | Passionate about UX | Founder of

Follow me on Twitter at: @daneshmandi
My website:
Follow on   Twitter

Comments and Discussions

GeneralMy vote of 5 PinmemberTrushnaK19-Dec-14 20:31 
QuestionDatabase Not Connected PinmemberMember 1042243915-Nov-14 5:46 
QuestionCan't Login PinprofessionalMember 1034969823-Oct-14 8:59 
GeneralMy vote of 1 PinmemberMember 1088304817-Jun-14 4:41 
GeneralThanks PinmemberMember 102322978-May-14 21:07 
QuestionPlease help cant connect Emulator to Restaurant app PinmemberRahat.p17-Feb-14 5:03 
Questionthank you Pinmembertejasdubal1-Dec-13 17:51 
Questionhelp with connection string and codes PinmemberMember 1005198914-May-13 23:10 
QuestionHow to setup connection string using frmConfiguration PinmemberDigi Baba27-Apr-13 5:19 
AnswerRe: How to setup connection string using frmConfiguration PinmemberMember 85537401-Jul-13 22:10 
Questionreceipt printer Pinmembermahmoudadel2-Mar-13 9:20 
QuestionWhat are the user names and passwords of this system PinmemberNuwan Thilina20-Feb-13 0:00 
Questionthanx Pinmembermahmoudadel12-Feb-13 2:28 
GeneralMy vote of 5 Pinmemberyeng thao2-Feb-13 7:27 
GeneralMy vote of 5 PinmemberWahab Hussain7-Dec-12 7:57 
GeneralMy vote of 5 Pinmemberjawed.ace8-Nov-12 4:15 
GeneralMy vote of 5 PinmemberSameerNA14-Oct-12 4:49 
QuestionWaiter app in VS2010 Pinmembervolley198914-Sep-12 11:07 
This is such a wonderful project. I have tried to open the waiter app in Visual studio 2010 and 2008, but it is not opening. It even tried to convert in 2010, but still not opening.. any suggestions??
AnswerRe: Waiter app in VS2010 PinmemberAli Daneshmandi15-Sep-12 6:42 
GeneralRe: Waiter app in VS2010 Pinmembervolley198917-Sep-12 12:43 
AnswerRe: Waiter app in VS2010 Pinmembervolley198920-Sep-12 7:00 
GeneralRe: Waiter app in VS2010 PinmemberAli Daneshmandi20-Sep-12 11:44 
GeneralRe: Waiter app in VS2010 Pinmembervolley198920-Sep-12 23:59 
QuestionPassword PinmemberJoan Kay21-Aug-12 14:29 
AnswerRe: Password PinmemberAli Daneshmandi21-Aug-12 22:00 
GeneralRe: Password PinmemberJoan Kay3-Jul-13 21:59 
QuestionExcellent PinmemberRugbyLeague3-Aug-12 8:23 
GeneralMy vote of 5 PinmemberChristian Amado3-Aug-12 8:16 
Questionhow to update the transparent WPF window Pinmembershowny20-Jun-12 21:15 
Questionrestaurant project Pinmemberugur35_3512-Jun-12 22:02 
AnswerRe: restaurant project PinmemberAli Daneshmandi12-Jun-12 23:32 
GeneralRe: restaurant project Pinmemberpigu200925-Nov-13 14:38 
QuestionHow to "check_out_a_table" PinmemberMember 423688912-Jun-12 19:03 
AnswerRe: How to "check_out_a_table" PinmemberAli Daneshmandi12-Jun-12 20:50 
QuestionPassword Pinmemberrigelfb8-Jun-12 12:53 
QuestionHow to hide cancel orders? PinmemberMember 423688929-May-12 12:44 
AnswerRe: How to hide cancel orders? PinmemberAli Daneshmandi29-May-12 20:17 
QuestionThank you very much, 5 PinmemberMember 423688927-May-12 12:31 
AnswerRe: Thank you very much, 5 PinmemberAli Daneshmandi27-May-12 20:34 
GeneralMy vote of 5 Pinmembermanoj kumar choubey19-Apr-12 23:54 
QuestionVery Nice Application PinmemberSathish Kanna19-Apr-12 6:59 
Generalthanks Pinmemberenessakrak12-Apr-12 0:52 
GeneralThanks Pinmemberper1per226-Mar-12 3:25 
Questionنیاز به کمک Pinmemberaminsoro28-Feb-12 22:23 
GeneralMy vote of 5 PinmemberHassan Shafipour23-Jan-12 23:49 
GeneralMy vote of 5 Pinmemberkacime_198123-Jan-12 4:38 
GeneralMy vote of 3 PinmemberAndy41119-Jan-12 0:41 
GeneralRe: My vote of 3 PinmemberAli Daneshmandi19-Jan-12 4:08 
GeneralRe: My vote of 3 PinmemberAndy41119-Jan-12 4:50 
GeneralRe: My vote of 3 PinmemberAli Daneshmandi19-Jan-12 7:05 

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

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

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