I 'am trying to do the same, which is add the usercontrol (usrNewMenu) to a panel (pnlFrmArea). So I create an instance of the usrNewMenu called usrNewMenu_obj and then add this object to the main form and then the main form's panel, pnlFrmArea using the following commands...
I am trying to paint the Computer Screen grey for the duration that the splash screen and the next popup screen (both of the dimensions lesser than the Computer Monitor's)run, the background is always grey.
I have the following for that...
I am trying display all the text content of all the form controls like the label font size, the text of the dynamically generated TreeView, the font size of the menuitems, etc. according to the screen resolution. Is there a way to do that ?
Is there a way to automatically resize the font of the ToolStripMenuItem when the MenuStrip size changes. For example, on form load I change the size of the menustrip. But the change in size does not trigger a change in the font size of the menu items (of type ToolStripMenuItem).
Is there a...
Hi, I am displaying a usercontrol on my parent form and it displays like this:
Though the events such as button click on the usercontrol are fired appropriately, the user control fields are displayed as given in the picture. Please help.
Thanks for your reply. I realized that the hard way (refer code)
Private Sub SplashScreen1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
md.Source = New System.Uri("C:\AppPath\myVid.wmv")
md.Stretch = Windows.Media.Stretch.None...
I am using the System.Windows.Controls.MediaElement
in my ElementHost Control of the form called SplashScreen1.
In order to use the MediaElement, I have added the reference PresentationFramework.dll and imported the mediacontrol. Now I want to play the video called abc.wmv using my MediaElement...
I am developing an application using VB 2008. I have three forms say Form1, Form2 and Form3, the application codes are in files Form1.vb, Form2.vb and Form3.vb respectively. I have managed to merge all the three .vb files in one .vb file, MainForm1.vb.
Going one step further, I was wondering...