Showing posts with label WINDOWS. Show all posts
Showing posts with label WINDOWS. Show all posts

Wednesday, November 7

How to Lock a Form or How to set a form as Not Movable as well as Fixed Size


Introduction:-

                  Here I have explained how to Lock windows form in windows application.

Description:-

                 In my previous article I have explained Generate Barcode in windows application .Here I will explain how a form can’t be movable. We can lock a windows form to set as fixed position where a user can not able to resize that form as well as they can’t able to change the position of that form.

Sometimes it will be a mandatory when you want to open window inside a master form with fixed size. Then we definitely go for this approach.

It is very simple to fix a window form by some few lines of code in your windows application. For this write a override method for WndProc.
 

Saturday, October 13

Generate Barcode in windows application


Introduction:-

                  Here I have explained how to generate Barcode and Qrcode in windows application.

Description:-

                  In my previous article I have explained How to lock a form or how to set a form as notmovable as well as fixed size .
 
Here I will explain how to generate barcode as well as qrcode using C#.I have provided all the procedures here to generate barcode and qrcode.

Follow the following process

First download QRCODE GENERATOR LIBRARY from onbarcode.com and then add reference to OnBarcode.Barcode.Winforms.dll to your windows application.

Now I am going to provide all code, what I have written to generate Barcode as well as Qrcode.


.

ShibashishMnty
shibashish mohanty