473,799 Members | 3,092 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is a method/property Me.IsLoading available? (WinForms)

dgk
I want to use certain events but only when the form is finished with
the Load event. Obviously I can set a boolean flag but I was looking
around for anything in Me that might do the same thing but I don't see
it. Did I miss it?
Apr 13 '06 #1
2 1118
I don't see one in the help text, but it would be a simple process to
create one for a form. Each form is implemented as a class so just
create a new IsLoading boolean parameter in the form's class, be sure
to either make a constructor to initialize the boolean to false or set
it to flase first thing in the Load event code, and then at the end of
your Load event code, set the property to true, and you can then
reference the Me.IsLoading property.

Apr 13 '06 #2
dgk
On 13 Apr 2006 10:41:29 -0700, za***@construct ion-imaging.com wrote:
I don't see one in the help text, but it would be a simple process to
create one for a form. Each form is implemented as a class so just
create a new IsLoading boolean parameter in the form's class, be sure
to either make a constructor to initialize the boolean to false or set
it to flase first thing in the Load event code, and then at the end of
your Load event code, set the property to true, and you can then
reference the Me.IsLoading property.


That's what I do, but I figured maybe there was something intrinsic.
No biggie.
Apr 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
22537
by: Martin | last post by:
I'd like to be able to get the name of an object instance from within a call to a method of that same object. Is this at all possible? The example below works by passing in the name of the object instance (in this case 'myDog'). Of course it would be better if I could somehow know from within write() that the name of the object instance was 'myDog' without having to pass it as a parameter. //////////////////////////////// function...
2
2910
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this a limitation for smart device application? Is there any forum/group available for Smart device application developer?
0
989
by: Atmapuri | last post by:
Hi! I have a public list property on one of my components and the Winforms IDE is not able to correctly store any changes to it in design time. I wish it would be possible to simplify the serialization of the Winforms so that it would use the standard serialization interface.
4
3707
by: BK | last post by:
I need to Set & Get the "Comment" property of files. I would like to know what classes handle these in VB.NET. The VBA code is sen at http://support.microsoft.com/default.aspx?scid=kb;en-us;212724 To set the comment manually, we have to right click a file in windows explorer, click on "Properties" and then select the "Summary" Tab. Making sure the view is "Simple" there will be a text box to enter the comments. Once this is set, we...
1
2993
by: suki | last post by:
How can i set the data binding property of an label to a field of a dataset (defined in a class in my project) ? In this data field, there are many entries and i want to have as much labels as entries... Does the label duplicate automatically? How can i do that?
13
2000
by: TS | last post by:
Say i have a class car with properties: Color, Make, Model, Year, DriverID And a Driver class with properties: DriverID, Name The driverID PRIVATE property is the id of the driver from say a driver table (t_driver). This has a PUBLIC property accessor called Driver My understanding of OO using the composition model is that when you want to load up a car class, you would access the DB to get Color, make, Model, Year, DriverID and load...
4
7203
by: ianyian | last post by:
hi experts, im doing some staff bween th the aspx + MS Word.chellcheck, and and which running on my ypc is no problem ( windows xp , activation by ASPNET ), buts someshow when i try to deploy to server ( windows 2003 ) + IIS 6.0 , hen which giee the error = Object reference not set to an instance of an object.This method or property is not available because a document window is not active. and i have try to configure for the component...
1
2231
by: Derek Hart | last post by:
I am using the PropertyGrid control, and have been trying some demos from CodeProject, but cannot seem to find a specific item. I want to simply have a string property, and on the property I want an ellipsis button that I will bring up a custom winforms form. The winforms form builds a complex string. When exiting the winforms form, I simply want to fill the string back into the property. Specific instructions would be much appreciated!
23
4568
by: raylopez99 | last post by:
Here I am learning WinForms and two months into it I learn there's a WPF API that is coming out. Is this WPF out yet, and is it a threat to WinForms, in the sense that all the library routines I memorize and/ or familiarize myself in WinForms will disappear in WPF? I did note in one early version of C#, the non-generic "ArrayList" was replaced by the generic and template <based List, but that kind of change is not a big deal. If WPF...
0
9538
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,...
0
10473
Oralloy
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...
1
10219
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10025
tracyyun
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...
0
6804
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();...
0
5461
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...
0
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4138
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
3
2937
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.