Thursday, November 29, 2012

C# Windows Application Update app.config file

In the Post C# Windows Application Reading app.config file, we saw on how to read the key values in the App.config file, there are situations where we will have to update the values in the app.config file dynamically from within the application. 

In this post we shall see on how to update the values in the app.config file from the application.


Adding a Custom Icon to C# Windows Application and Forms

C# Windows applications, by come with the default Application icon, many a times we will want to change the default icon to one which suites the type of application, in this post we shall see on how to change the default icon and set a custom icon.

1. Open the Windows Application project in Visual Studio.
2. Open the Project Properties.
3. In the Applications tab, Under the resources section, browse and select the custom icon file.

Email validation using ErrorProvider in C# Windows Application

C# Windows Application provides an ErrorProvider control, which is similar to the ValidationSummary control in Asp.Net, this control consolidates all the error messages in the form and alerts the user on the Form errors.

In this post we shall see on how to use the ErrorProvider control to validate Email in a C# Windows Form.

RegularExpression Validation using Regex class in C# Windows Application

Asp.Net provides a RegularExpression Validator to validate custom expressions, in Windows Forms there are no such validators. However we can make use of the methods in the Regex class to validate custom expressions in C# Windows forms.

In this post we shall see on how to use the Regex class to validate custom expressions in a C# Windows forms Application.

Wednesday, November 28, 2012

Adding Image Buttons to C# Windows Form

The C# Windows forms buttons are usually rectangular in shaper and take the default Grey color background, however there are instances where we need to make our forms more stylish, in this post we shall see on how to set Images to a Button in a C# Windows forms application.

1. Create a new / open an existing C# Windows application.
2. Create/Open the form which needs the Image Button.
3. Add a button to the Form
4. Set the following Properties to the Button (View -> Properties Window or Press F4 key)

Rounder Corner C# Windows Form

The C# Windows forms are usually rectangular and take the default Grey color background, however there are instances where we need to make our forms more stylish, in this post we shall see on how to set a Rounder Corner appearance to a C# Windows Form.

1. Create a new / open an existing C# Windows application.
2. Create/Open the form which
needs the Rounder Corner appearance.
3. Open the Properties of the form (View -> Properties Window or Press F4 key)
4. Set the
following Properties.

Monday, November 26, 2012

Combobox validation using ErrorProvider in C# Windows Application

C# Windows Application provides an ErrorProvider control, which is similar to the ValidationSummary control in Asp.Net, this control consolidates all the error messages in the form and alerts the user on the Form errors.

In this post we shall see on how to use the ErrorProvider control to validate a ComboBox in a C# Windows Form.

Integer validation using ErrorProvider in C# Windows Application

C# Windows Application provides an ErrorProvider control, which is similar to the ValidationSummary control in Asp.Net, this control consolidates all the error messages in the form and alerts the user on the Form errors.

In this post we shall see on how to use the ErrorProvider control to validate Integers (Whole Numbers) in a C# Windows Form.

Friday, November 23, 2012

Number validation using ErrorProvider in C# Windows Application

C# Windows Application provides an ErrorProvider control, which is similar to the ValidationSummary control in Asp.Net, this control consolidates all the error messages in the form and alerts the user on the Form errors.

In this post we shall see on how to use the ErrorProvider control to validate Numbers in a C# Windows Form.

C# Windows Application Form validation using ErrorProvider


C# Windows Application provides an ErrorProvider control, which is similar to the ValidationSummary control in Asp.Net, this control consolidates all the error messages in the form and alerts the user on the Form errors.

In this post we shall see on the basics of the ErrorProvider control, the successive posts will show on how to use the control to perform various types of validations.

Thursday, November 22, 2012

Binding data to a ListView with Multiple Columns in C# Windows Form

A ListBox control in a C# windows forms, can display only one column of data, but there are instances when we want to display multiple columns of data. One option is to use the DataGrid control, but we can also use the ListView control to display multiple column data.

The
ListView can be used to display static information, which the user will not be changing, in this post we shall see on how to use the ListView control to display multiple columns of data in a C# Windows Form. We shall bind the data from the list view from the code behind file.

C# Windows Forms ListView with multiple columns

A ListBox control in a C# windows forms, can display only one column of data, but there are instances when we want to display multiple columns of data. One option is to use the DataGrid control, but we can also use the ListView control to display multiple column data.

The
ListView can be used to display static information, which the user will not be changing, in this post we shall see on how to use the ListView control to display multiple columns of data in a C# Windows Form.

Tuesday, November 20, 2012

jQuery Mobile Books

jQuery UI Books

jQuery Books

jQuery ajax getScript Method

jQuery ajax getScript Method

jQuery ajax getJSON Method

jQuery ajax getJSON Method

jQuery ajax Post Method

jQuery ajax Get Method

jQuery ajax Load Method

jQuery ajax Method

jQuery Ajax Properties

jQuery Ajax Handlers

jQuery Ajax Overview

jQuery Ajax Overview


Adding TabControl to a C# Windows Form

A TabControl in a C# Windows Form allows us to group controls of different type in different tab panes in the same Form, the user can navigate between various tabs and access the controls in each of the Tabs.

A
TabControl is used when there are multiple controls to be displayed in a single form, TabControls helps in aligning the controls into groups and provides a better UI design to the form, in this post we shall see on how to add TabControls to a C# Windows Form.

Creating MDI Child Forms

MDI (Multiple-Document Interface) applications should have a MDI Parent form which will act as the parent for all other forms in the application. In this post we shall see on how to create a MDI Child form in a C# Windows Application and associate it with the MDI Parent form.

First let us create the MDI Parent Form.

Add Toolbar to a MDI Parent Form

MDI (Multiple-Document Interface) applications should have a MDI Parent form which will act as the parent for all other forms in the application. In this post we shall see on how to add a Toolbar control to an MDI Parent Form.

Monday, November 19, 2012

Add Menu to MDI Parent Form

MDI (Multiple-Document Interface) applications should have a MDI Parent form which will act as the parent for all other forms in the application. In this post we shall see on how to add a Menu control to an MDI Parent Form.

Creating MDI Parent Forms

MDI (Multiple-Document Interface) applications should have a MDI Parent form which will act as the parent for all other forms in the application. In this post we shall see on how to create a MDI Parent form in a C# Windows Application.

1. Create a new / open an existing C# Windows application.
2. Create/Open the form which needs to be set as the MDI Parent form.
3. Open the Properties of the form (View -> Properties Window or Press F4 key)
4. Set the IsMdiContainer property to true.
5. Notice that the Form UI Changes as follows.


MDI Applications (Multiple-Document Interface)

A C# Windows application usually allows only a single Form to be opened at any given point in time, this works fine for smaller applications, but when we need to develop larger applications, we need a comprehensive menu structure to navigate through the various forms, this is where the MDI Applications help us.

Multiple-Document Interface (MDI) application, are those which have a MDI parent form, this form will be the parent of all the other forms in the Application, typically this form will contain the Menu which is used to navigate to the other forms in the application. 

A form in an MDI application is set as the MDI Parent by setting the IsMDIContainer property to true. Once this property is set to true, this form will act as the Parent form for the application. We can add Menu control to this form.

Saturday, November 17, 2012

JQuery Mobile Web Development Essentials (Imported Edition)

Overview
This book helps you to learn
1. Create websites that work beautifully on a wide range of mobile devices with jQuery mobile
2. To prepare your jQuery mobile project by learning through three sample applications
3. Packed with easy to follow examples and clear explanations of how to easily build mobile-optimized websites

Title
JQuery Mobile Web Development Essentials (Imported Edition)
Author
A. Matthews, Raymond Camden
Publisher
Packyt Publishing
Publishing Date
2012
Pages
246
Price
Rs. 2252/-
Price @ Flipkart
Rs. 1847/-


Sams Teach Yourself jQuery Mobile in 24 Hours

Overview
jQuery Mobile makes it easy for developers to add "native" mobile functionality to their sites and applications, delivering seamless experiences to customers using diverse mobile devices, all from a single code base. In this book, leading mobile expert Phil Dutson helps readers master the latest version of jQuery Mobile, even if they have no previous experience. In just 24 lessons of one hour or less, Dutson guides readers through every step of creating and customizing a mobile website with jQuery Mobile. Each short, easy lesson builds on all that's come before, teaching jQuery Mobile's newest features in the context of real solution development.

Readers learn how to: -Create user interfaces with toolbars, buttons, forms, lists, events, and themes -Build responsive layouts and develop new themes -Detect diverse devices -Encode and embed mobile video -Use mobile device simulators -Build apps with PhoneGap and jQuery Mobile -Incorporate QR and Microsoft Tag Codes -And much more Step-by-step instructions walk developers through common questions, issues, and tasks... Quizzes and Exercises build and test knowledge... "Did You Know?" tips offer insider advice and shortcuts... and "Watch Out!" alerts help readers avoid problems. By the time they're finished, readers will be comfortable going beyond the book to "mobilize" virtually any site.


Title
Sams Teach Yourself jQuery Mobile in 24 Hours
Author
Phillip Dutson
Publisher
Publishing Date
2012
Pages
475
Price
Rs. 2235/-
Price @ Flipkart
Rs. 1833/-

jQuery Mobile First Look

Overview
This book will help you learn one of the most promising JavaScript mobile frameworks and grasp how widgets and elements work and what you can do to customize and enhance their behavior.
A by-example guide that will let you explore all the features of jQuery Mobile and get you ready for all the mobile web development you will do

What you will learn from this book :
1.    Discover why jQuery Mobile is a significantly better choice compared to other libraries and frameworks, most of which target iOS devices only
2.    Handle events, configure options, and customize the look and feel of jQuery Mobile
3.    Create and style pages and dialogs, and understand how links are handled by this framework
4.    Understand the fundamentals of list views and their importance in the way jQuery Mobile displays information
5.    Display content to suit your needs and make everything look like a full-fledged RIA even on a mobile screen
6.    Use toolbars to provide additional options and control to the user, and learn to position, theme, and enhance them
7.    Understand buttons and their key role in mobile development: how they can be grouped, displayed, customized for a better user experience
8.    Create forms and submit data via AJAX with jQuery Mobile: also implement sliders, toggle switches, and search inputs into your fieldset.

Title

jQuery Mobile First Look

Author
Kris Hadlock
Publisher
Shroff/Packt
Publishing Date
2011
Pages
224
Price
Rs. 350/-
Price @ Flipkart
Rs. 350/-