15,899,754 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by CodeChecker 5689 (Top 9 by date)
CodeChecker 5689
23-Jan-15 5:34am
View
Pls, help me to resolve mentioned issue.
CodeChecker 5689
17-Jul-14 8:55am
View
it won't work while thread is sleeping and finally it will collapsed without showing any effect.
CodeChecker 5689
17-Jul-14 8:53am
View
<grid>
<mediaelement x:name="MediaPlayer" mediaended="MediaPlayer_MediaEnded" unloadedbehavior="Manual" loadedbehavior="Manual" visibility="Collapsed"
="" height="81" horizontalalignment="Left" margin="199,108,0,0" verticalalignment="Top" width="91">
<Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="118,94,0,0" Name="button1" VerticalAlignment="Top" Width="75" KeyDown="button1_KeyDown" Click="button1_Click"/>
----------------
private void button1_Click(object sender, RoutedEventArgs e)
{
try
{
MediaPlayer_MediaEnded(sender, e);
System.Threading.Thread.Sleep(5000); // Added for testing purpose
}
finally
{
MediaPlayer.Stop();
MediaPlayer.Visibility = Visibility.Collapsed;
}
}
private void MediaPlayer_MediaEnded(object sender, RoutedEventArgs e)
{
MediaPlayer.Visibility = Visibility.Visible;
MediaPlayer.Source = new Uri(@"/Images/ABC_busy_animation.gif");
MediaPlayer.Position = new TimeSpan(0, 0, 2);
MediaPlayer.Play();
}
CodeChecker 5689
10-Jun-14 5:03am
View
thanks, but i need GIF to ANI converter.
CodeChecker 5689
20-May-14 8:19am
View
_|_
CodeChecker 5689
5-May-14 9:50am
View
List<int> abc = new List<int>();
List<int> abcd = new List<int>();
abc.Union(abcd);
//OR
foreach(var ele in abc)
{
if(abcd.contains(ele))
{
// Print the Result;
}
}
CodeChecker 5689
5-May-14 9:45am
View
List<int> abc = new List<int>();
List<int> abcd = new List<int>();
abc.Union(abcd);
CodeChecker 5689
8-Aug-13 8:00am
View
Try to optimize query for getting data, i think it is due to heavy database.
CodeChecker 5689
8-Aug-13 7:38am
View
Please, correct me if i m wrong , how i can get ascii value of fontname in c#.net winform through run time label array.
if it is ok then u can try this ,
$('#fieldId').bind("keypress", function (e) {
var keyCode = 0;
keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
//Check the key code for allowing only numbers, backspace, delete along with NUM keys if u want then u can add one more check for alphabets
if ((keyCode > 47 && keyCode < 58) || keyCode === 8 || keyCode === 46 || keyCode === 117 || (keyCode > 95 && keyCode < 106)) {
return true;
}
else {
return false;
}
});
Show More