Oil based paints tend to dry very slowly or not at all. This is why oil paintings by artist can begin to drip and run under certain heat and humidity conditions. You can have an oil painting sitting for months and add a little linseed oil and go back at it.
mmuttmax
Posts
-
Windows 8: Pushing hated UI elements -
Async File Transfer in IEFirefox (not sure which version it started) supported a javascript method on the 'input' 'type=file' (you know the file browser). Actually I think there are two methods that do similar things... that allow you to upload the raw bytes from the file loaded from the input after the file has been selected. The one I use is getAsBinary() I don't believe IE7 supported anything like this, but does IE8 have something similar? If you don't know then is there a site similar to what firefox has where IE list all their javascript API support. Really would like to get rid of the IFrame hack to support IE. The Firefox section of the code is nice and clean requires nothing more than the basic html and javascript and is only a matter of parsing the request headers on the server to get the image from the http request. :) In IE it's a bunch of crazy IFrame (display set to none) post and if you want info back from the server having the IFrame send the info back to the original page... all just to simulate an async call when actually IE wants to do a full post back.:mad: This is for an internal site and right now only needs to support latest versions of Firefox and IE. Thanx for any responses.
-
Hook Child events into Parent UserControlHi all, I was thinking there had to be an easier way to do this. I have a UserControl which contains a PictureBox and Label as children. I don't want to make the consumer have to hook the events or even expose the child controls. So how do you let the user add the event handler to the custom control and have it propagate down through to the children. I've done this which works but may give more explanation as to what I'm trying to do. Basically it's just assigning the event within the InitializeComponent().
private void SetPictureEventsToParent() { picture.MouseClick += new System.Windows.Forms.MouseEventHandler(picture_MouseClick); } void picture_MouseClick(object sender, System.Windows.Forms.MouseEventArgs e) { this.OnMouseClick(e); } private void SetLabelEventsToParent() { label.MouseClick += new System.Windows.Forms.MouseEventHandler(label_MouseClick); } void label_MouseClick(object sender, System.Windows.Forms.MouseEventArgs e) { this.OnMouseClick(e); }
The problem is the Label and PictureBox cover the parent and so the parent never receives the event unless I do this. Thanx