High performance VoIP SDK for .Net developers

VoIP SIP SDK

Custom WPF GUI and brandname

This article is a detailed guide about customizing a WPF GUI for your softphone solution in relation with Ozeki VoIP SIP SDK. After reading through this page you will be fully familiar with all the essential terms concerning WPF GUI building and what you will need for creating your own solution using Ozeki VoIP SIP SDK.

Introduction

Windows Presentation Foundation (or WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications. WPF attempts to provide a consistent programming model for building applications and provides a separation between the user interface and the business logic.

When you are implementing a VoIP application, you can decide on the technique for building a GUI for your solution and WPF is one of the best choices. It is easy-to-use, and you can make really impressive GUI solutions with it.

For creating a new project, you need to choose the File->New->Project menu and then on the New Project window, you need to specify the Project type and set the project name and location.

When you decided on using Windows Presentation Foundation for building your GUI layout, you need to start with creating a new WPF project by choosing the WPF application type seen in Figure 1.


Figure 1 - Creating a new WPF project

When the project is created, you get a blank window layout where you can put the GUI elements. The GUI elements can be found in the Toolbox that is usually on the left hand side of the Visual Studio window (Figure 2).


Figure 2 - The WPF GUI elements can be chosen from the Toolbox

The GUI elements that are used in nearly all kinds of applications can be seen in Figure 2. These are the Button, the CheckBox, the Label, the TextBlock (TextBox in Windows Forms) and the ComboBox.


Figure 3 - The usually used GUI elements

When you have put a GUI element on your layout, you can set the special properties of it on the Properties panel (Figure 4). This panel is usually on the right hand side of the Visual Studio window and you can make it appear by right clicking on the GUI element and choosing Properties from the pop-up menu list.


Figure 4 - The GUI element properties can be seen and modified on the Properties panel

On the Properties panel you can also set the event handlers for all the possible events of any GUI elements (Figure 5). The default event handler can be created by double clicking on the GUI element itself, but on the Properties panel you can find any other events and define event handler even for all of them.


Figure 5 - The Properties panel also shows the event handlers of the GUI elements

When you study the options of WPF you will find how simply you can create a really impressive GUI layout, like the one in Figure 6. The number of possibilities is infinite and you can use all your imagination to build the GUI that resembles all your wishes about a GUI.


Figure 6 - The result is an impressive GUI layout

Now, you can see how simple is to build a professional GUI layout with WPF. You can use this knowledge to build your own solution and along with Ozeki VoIP SIP SDK have your own WPF softphone application in minutes.

Summary

This article introduces how you can make a custom WPF softphone GUI and it is also presented how Ozeki VoIP SIP SDK can help you fulfill your goals. After reading this page, you will have all the knowledge you need for starting your own solutions.

If you have any questions or need assistance, please contact us at info@voip-sip-sdk.com

You can select a suitable Ozeki SIP SDK license on Pricing and licensing information page

Related Pages