|
by: Dave |
last post by:
I have two forms, Form1 and Form2. From Form2, how do I reference the value
in a control on Form1?
Or perhaps a more specific question: Form1 contains a textbox with the value
of 10. This form is hidden. Form2 is active and a user enters a value of 2
into a blank text box. How can I add this value to the textbox in Form1 so
that when Form1 is displayed it's textbox displays 12?
I probably have the wrong mindset here; I'm thinking...
|
by: hqdtech |
last post by:
how to refresh webform from other webform
I have 2 webform, i want if webform A was close then webform B wil
refresh.
And the problem second:
how to catch packet on the network in C#.
thanks
|
by: RL Stevenson |
last post by:
Often I want to change the Enable or Visibility on a control when some other
control on the form changes. Or maybe I need to make a change to the
DataSource on a combo box when the user makes a selection elsewhere on the
form.
In Visual FoxPro, you would call Refresh on the form causing Refresh to be
called on all the controls on the form, causing the Refresh event code to be
called and allowing the controls to update themselves to the...
|
by: Peter Oliphant |
last post by:
I now have graphics being drawn in the Paint event of my form (yeah, and
it's very cool). Problem was that it only updated any changes to these
graphics when Paint was called.
So, I then made it so the Refresh() method of the form was called for each
graphic object. In this case it drew just fine, but Paint was being called
so often I lost control of the form (e.g., trying to close the form using
the close 'x' in upper right corner...
|
by: MattB |
last post by:
I have a page header that I made as a user control (ascx) that I drop on
every page in my application. The application is an eCommerce application
and I have a total for items in the cart on the header. To keep this total
in sync, I count the items in the cart and refresh the label text in the
load event of my header control. This all works well, except for one
scenario. When the user is on the "Show Cart" page, they can delete items
from...
|
|
by: Allan Bredahl |
last post by:
Hi all
Im currently constructing a Windows control that inherits from RichTextBox,
but I'm having a bit of trouble with updating the control at design time.
The senario is SIMPLIFIED as follows:
My RichTextBox control :
Public Class Crtb
|
by: --== Alain ==-- |
last post by:
Hi,
I have a control which has a collection property.
when an item of the collection property will be added, removed, and so
on, i would like to refresh the control itself.
Usually for that i use eventhandler in the set method of the property.
But as the collection property has only a get method, i'm not able to do
it so.
|
by: Sue |
last post by:
Hello
Is there an equivalent of a OnTextChangedEvent for a asp: label
control in asp.Net 2.0. Every time the text of a label changes, I
want
the items in a listbox control cleared.
Tried doing as textbox and gave the ReadOnly="True" and border=0 to
mimic a label control, but since the Readonly is set to true, the
"OnTextChanged" event does not get fired.
|
by: R.A.F. |
last post by:
Hi,
I have a custom control in which i have a property based on
CollectionBase class.
like the following one :
//------- XGrid.cs file --------------//
public ColumnsCollection Columns
{
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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: 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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|