|
by: Carl Gilbert |
last post by:
Hi
I am looking for either a component or technique to allow me to do the
following:
* Provide a panel with a background image
* Resize the image to best fit the panel to maintain aspect ratio
* Provide white (or other color) borders at the sides or the top/bottom
The last point would be used to allow users to resize the panel to any ratio
|
by: Larry |
last post by:
Dear friends,
I am a novice vb.net user and I am seeking some experts advice.
I placed a panel control onto a form, set the autoscroll property
(of the panel control) to true. Let's say The size of the panel control
is 100 by 100 ( height =100, width=100)
Then I draw some picture onto this panel control, the x range of the
picture is from 0 to 500 and the height of the picture is 600. Because
|
by: Thiru .Net |
last post by:
hi wagner,
i have a doubt in panel control in windows application.
i have a panel control wherein i have put a picturebox control.
i show picture into picturbox control.
now i need to zoom in and zoom out the picture in the picturebox
control.
the picturebox control is within panel(autoscroll is enabled true)
scroll bars are enabled.
|
by: Sharon |
last post by:
I’m using the Panel control that contains a PictureBox control (for
implementing the http://www.codeproject.com/cs/miscctrl/PictureBox.asp).
The Panel is set to AutoScroll = true.
I wish to scroll the appearing vertical and horizontal scrolls bars of the
Panel to the middle of their scrolling range so the contained PictureBox will
be centered inside the Panel.
But I could not find a way to get the scrolls bars for doing that.
|
by: **Developer** |
last post by:
I have a Picturebox in a usercontrol.
MouseMove draws on it.
I change from a picturebox to a panel.
Now when I draw on it flashes.
Look through the code and find I'm invalidating the panel as the mouse moves
so maybe the flashing makes sense.
But why doesn't the picture box flash (all the code is identical)?
|
|
by: Neeraj |
last post by:
Hi
I have panel and inside the panel i have many picturebox,if number of
picturebox increase ,i have set panel's autoscroll property to true,but
as and when i click on any of the picturebox ,i want to stop default
scrollmoving property of panel,so that i can use this event for my
picturebox.
I donot want to set its autoscroll to false,i want panel's scrollbar
to be visible ,but they should'nt function when i scroll mousewheel on
|
by: Rob |
last post by:
I've created an application which is intended to allow users to draw a
diagram of a network - with workstations, servers, switches, links (all
devices in my language) etc. I've created a user control made up of a
picturebox and a textbox (to allow the user to enter a name). When a user
wants to add a 'device' to the background surface (in my case a panel
control)
I create an instance of the user control setting the image of the picturebox...
|
by: dotnet2005 |
last post by:
Hi Toall ,
I want to explain you clearly ,
I am having some panels having some controls
CheckBox,ComboBox,Datagridview,Hyperlink,label,Listbox,Picturebox,RadioButt
on ,Textbox)
&(Oval,Line,Rectangle ). with .BorderStyle =
BorderStyle.FixedSingle . All these things are generating at runtime
|
by: babaidebnath |
last post by:
Hello all,
I am presently having a problem with printing in C#.
The problem is my customer provided me a pre printed paper and I
need to print value into some specific positions. But problem is C# for its
generic autofit to page nature dont let me doing this. Every time it is
decreasing whole page's size and also altering my value position into some
specific ratio. Can anyone tell me how can I come over that problem.
This is my code
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|