Run Only One Copy Of Application

This Article allow you to run only one Instance of application at a time. Many time we have requirement that we need to run only one instance of application at a time. If you have same requirement then in that case this article might be useful for you. Here you will learn how to handle only one instance of application by using Mutex Reference Link:- ClickHere to Reference Link Click here to Download SampleCode. After Downloading SampleCode, go to the bin directory and then click on OnlyOneInstance.Exe file twice. you will see a message box is prompted with a message Read More …

Share Knowledge

Change Opacity of Image in C#

This is a Simple Tips/Tricks which enable you to change Opacity of Image using C# by using  System.Drawing  and  System.Drawing.Imaging  NameSpaces. Take a look how ChangeOpacity(Image img, float opacityvalue) Method will enable you to change opacity of Image. In this given code System.Drawing Namespace is used to access Bitmap and Graphics classes whereas System.Drawing.Imaging Namespaces is used to access ColorMatrix and ImageAttributes. ChangeOpacity Method having two parameter including img for Image on which opaicty will be apply  and  opacityvalue for set opacity level of form. When you will use this Method in your program to change opacity of an image Read More …

Share Knowledge

Multiple Main Method in C#

In this article we will know how to handle a program with more than one entry point. All of us know the basic programming concept that is one program allow only and only one entry point i.e A Main Method. This is what normally expected. However, C# also allows you to create a program with one Entrance point its means one Main method. but it will be very sound interesting to have more than one entry point in program. yeah! we can with illegal way and Infect with weird way. have a read below article to explore more.. 🙂 What is Method :- Method Read More …

Share Knowledge

Myths about FileName Should be Same as Class Name in Java

This is very important session for us to know about myth of File name in Java. When I started to learn Java I got that every book, resources and even most of web blogs stated that we should keep the “name of Java file as the name of class.” I wonder why we should do it ? Why every one asking to follow the weird rule ? Why can’t we save java source file as other name (which is not matching with class name). Why everywhere it is written that FileName should be same as className. So my friends at the end of Read More …

Share Knowledge

Hello world!

Welcome to WordPress.com. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin dashboard) to start a fresh post. Here are some suggestions for your first post. You can find new ideas for what to blog about by reading the Daily Post. Add PressThis to your browser. It creates a new blog post for you about any interesting  page you read on the web. Make some changes to this page, and then hit preview on the right. You can alway preview any post or Read More …

Share Knowledge