Hello everyone,
I just would like to know if it is possible to dock a windows form on top of the user screen? I have been trying to do this by manually setting the position of my form to the coordinates I want. But using this method, however, allows the user to change the position of the form just by dragging it. I want to make the for...
I have an application in .NET 2.0 on the compact framework. When I instantiate my custom form the current form that I have visible seems to lose focus. My new form isn't visible (I haven't called ShowDialog()) on it, but my current form loses focus simply by calling the constructor on my new form. Any ideas on how to work around this?...
I'm writing a simple extension method to perform an action on a control and all of its children, and I'm wondering if I have to worry about running into the same control twice.
Safe:
public static void Traverse(this Control control, Action<Control> action)
{
Traverse(control, action, new HashSet<control>());
}
private static void ...
I have a C# winform with a webbrowser control on it. I'd like to know if it is possible to add the Google Toolbar to this winform and have it interact with the webbrowser control, specifically for the "Translate" functionality. Is this possible?
...
I need to create an application that can have numerous documents open on several (between 2 and 6) monitors. The current version of the application uses a traditional MDI interface which does not work well with multiple monitors. I am thinking of making an interface similar to GIMP/Delphi 7 which has a main program toolbar and all other ...
int width, height;
width = this.Size.Width;
height = this.Size.Height;
width /= 3;
height /= 3;
btn_1.Size = new Size(width, height);
I am trying to make a button's size and location change when user resized a form.
How can I assigning a size to a button?
Also yes i tried to make it with changing width and height separately. I know t...
I am using a third-party .NET video capture function library that displays atreaming video from a USB video capture device in a VideoPictureBox (which is very much like the usual .NET PictureBox). I want to display graphics and text over the video stream.
Is there some way to superimpose a regular PictureBox such that the graphics and t...
In my application I am deriving all my forms from a common BaseForm.
Now I need to disable the resizing in the BaseForm so that derived forms are not resizable at design-time.
How to achieve that?
I need it at design-time
...
Hi,
I am looking for a Free/Open Source WinForms "Skinner" (like AppFace and IrisSkin).
Does anyone know where I can find such a project?
If it is able to open .ssk .urf skin files, that would be nice.
...
What is simplest way to draw 3d plot in WinForms or WPF?
I have an array with 30000 points (from external 3D Scanner). Now I need to connect this points and make something as 3D Picture (topography).
Any suggestions?
...
I'm trying to add a group of four radio buttons to a form. There are other radio buttons so I'm grouping them by placing them on a Panel. However using the below I just get the panel added to the form without the radio buttons... Am I doing something wrong here?
Dim arrRButton(3) As RadioButton
arrRButton(0) = New RadioButto...
Im trying to fill a listview(tiles) with posters and titles of a DVD collection but only the titles become vissible.
this is my code:
Private Sub fillListView(ByVal listView As System.Windows.Forms.ListView, ByVal col As Collection)
listView.Items.Clear()
myImageList = New ImageList()
For Each item As bsDVD In col
Try
myImageLis...
I'm fairly new to VB.NET, and I'm working on a text editor with a tabbed interface. I deal with large text files, so I'm wondering what is the best way to go about this.
Should I have each tab / text document open up in a new thread or a process? I basically want the entire application to always run fast as the text editor is just one ...
Scenario:
The VB 6 form has a InteropControl (WinForms).
The InteropControl has a ElementHost
The ElementHost has my WPF control
Everything seems to be working except that Application.Current seems to be null when I need it. All I really want to do is hook into the unhandled exception event before the first form is fully displayed.
...
i wrote a console application in visual c++, and now i want to add a GUI to it using windows form. I am new to Windows form. and i have following questions
I dont know how to include classes from other .h files in windows form.
is library like #include <stdio.h>, #include <stdlib.h>, #include <iostream> in my original project still c...
I need to convert int and or bool to checkState
int ValueCheck;
private void gsCheck1_CheckedChanged(object sender, EventArgs e)
{
CheckBox box = sender as CheckBox;
box.CheckState = ValueCheck; // doesn't work
this.gsCheck2.CheckState = ValueCheck; // should be 1 or 0 ?
}
As you can see I want to change (this.gsChec...
I have a form that launches formB. I would like forma to be hidden until formb is closed. There may be a change formb is opened by formC and others so i simply cant just create a new form. Is there a way to launch formB, hide and block until close?
...
I am working on an outlook addin where we are using WPF user control embedded in a Windows form using ElementHost.
This app crashes on only few machines intermittently.After analyzing crash dump,the WPF rendering thread seems to be causing this crash.The stack trace in the windbg looks like
FAULTING_IP:
msvcr80!memcpy+5a
7814500a...
I've been googling and googling for vb.net examples with nice looking tabs.
I really really like this example (slide #4):
http://www.dotnetmagic.com/features_tabbedMDI.html
Has anyone come across any similar free vb.net tab controls with examples? I don't really need the control to be open source, just free :)
...
I've got a fairly long list in a ComboBox, and I want the DropDown behavior to be different.
Normally, when you click the arrow, the list expands showing all options, starting with the selected option.
Options listed above the selected option are hidden, but can be seen by scrolling up.
I want the list to scroll up a bit, showing the s...