In my previous post I presented a how to use Win32 API functions and structures in order to create a Layered Form using a custom png image file.
(All posts in this series: Post 1, Post 2, Post 3, Post 4, Post 5, Post 6, Source Code)
Today, I plan to explain how to use LayeredForm class [...]
In my previous posts in the series I described how to create custom CheckBox, RadioButton and Button controls. They are completely customizable during design time in Visual Studio WinForms designer.
(All posts in this series: Post 1, Post 2, Post 3, Post 4, Post 5, Post 6, Source Code)
This post presents a creation of a layered [...]
Few days ago, I was reviewed a old code on managed C++ where UpdateLayeredWindow function is used. I post a problem importing the function using DllImportAttribute in my old post which I cannot understand why happened. Today I started to translate this code into C# in order to use it and to write a blog [...]
It is my last post of the series. The post before this focused on the custom classes developed to support Presentation Layer of the sample application. A group of classes of input data validation has been presented. Another two classes for managing forms and central managing of exceptions were provided.
(All posts in this series: Post [...]
This is the third post in the series. The second one post describes Business Logic Layer (BLL) of the application. BLL contains two types of classes entities and managers. Here, an entity class contains the information of a business object retrieved from database but it is not equal or the same to those object generated [...]
Today, I ran into a strange error
error C3094: ‘System::Runtime::InteropServices::DllImportAttribute’: anonymous usage not allowed
and why this error is strange for me? I had an old dll written in managed C++ which imports a method from user32.dll. Initially, this Dll is written using VS 2005 with .Net Framwork 2.0. An the time of development and using it [...]