I am developing a Designing Application. In this application there is a feature where user can add multiple images on form(can drag here and there).
I have few GIF Images of Cartoons. I want to show them as GIF Only. But when I put image on form it shows White area in blank portion.
I have used Panel and Images are set as Background Image in the Panel.
I think I have not described clearly. Here I have attached image link for more clarification.
In this image background is a Panel(pnlMain) with a Background image. And Spider man is in another panel (panel1) with Background Image in panel1. Spider man image is GIF Image with Transparent area around spider man.
I made simple winform application in C#. I am showing menu options depending upon the mode selection. .i.e. if mode is eng then I am showing all the menus in MDI and if mode is tech then I am hiding some menus of MDI.This is handled in Code.
I am using MSI to create setup.I am using custom dialog box i.e. 2 radio button for mode selection. Now I want install software depeding upon the mode selection. i.e. if I select Eng mode radio button then installer install software with all menus and if I select tech mode then installer install only few menus which is applicable to tech mode.
I dont know how to use custom action so that i can pass the selection option to the exe.
Is there any other solution just let me know.
Yes I am passing tech/eng mode values as commadline argument and checked that in Main Method in program.cs. Default is tech mode.
In Installer Project - I set the radio button values and can able to get these values using
string myInput1 = this.Context.Parameters["BUTTON1"];
string myInput2 = this.Context.Parameters["BUTTON2"];
Now when I start installer it is showing 2 radio button and in that i want selected radion button value to be passed to exe so that only that exe get installed.
Last Visit: 31-Dec-99 19:00 Last Update: 27-Dec-14 22:14