- Saturday, April 4, 2009, 16:50
- Technology, WPF
- 436 views
WPF ContextMenu and MenuItem Control:
It explains how to create ContextMenu and MenuItem at design time and run time, their properties such as adding image and event handling
ContextMenu is attached to a control and displayed at the right mouse click. ContextMenu contains a list of MenuItem, which represent the command or option on which user initiate an action or command.
In this article I would discus how ...
Full story
- Saturday, April 4, 2009, 16:46
- Technology, WCF
- 72 views
Winform application accessing database using WCF application
Introduction
This article will give you a good start with using WCF for making database calls from windows application.
Database Table
Create table Designation using following create script:
--Table create script
CREATE TABLE .(
primary key IDENTITY(1,1) NOT NULL,
(20) NOT NULL,
(100) NOT NULL
)
--Add few rows to the table
insert into designation
(designationname, details)
values ('Computer Tech','who works in computer dept')
insert into designation
(designationname, details)
values ('Electrical ...
Full story
- Saturday, April 4, 2009, 16:39
- Technology, WPF
- 103 views
Sometime application has to perform long-running tasks. In a typical application, tasks are processed synchronously. When one task completes, the next begins execution, and this continues in a sequential fashion.
So, what would happen to the UI while waiting for a long-running task to finish? Often the UI becomes unresponsive and may even freeze temporarily until a long-running task completes.
This is referred to as blocking on ...
Full story