TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pulagara Murali
NA
43
43.7k
Command.Cs
Aug 21 2012 3:37 AM
using System;
using System.Windows.Input;
using System.Diagnostics;
using System.Threading;
namespace Symphony.Care5000.MainMaster
{
public class Command : ICommand
{
private readonly Action _handler;
Func<object, bool> canExecute;
Action<object> executeAction;
public Command(Action handler)
{
_handler = handler;
}
public bool CanExecute(object parameter)
{
return true;
}
public void Execute(object parameter)
{
_handler();
}
public Command(Action<object> executeAction, Func<object, bool> canExecute)
{
this.executeAction = executeAction;
this.canExecute = canExecute;
}
#region ICommand Members
public event EventHandler CanExecuteChanged = null;
#endregion
}
}
Reply
Answers (
0
)
css or themes and skins..which you use in website designing and if you use css only what about validations
System.Data.SqlClient.SqlException: Incorrect syntax near '