I recently got the request from a customer to implement an inverse colored version of our winforms application to enhance contrast when using it outdoors. Since the application is quite large implementing this over the whole user interface would be a lot of work. Does anyone know if there's a general system setting I can use to make the application render everything in foto negative colors? I haven't been able to find one, probably because it doesn't exist, but maybe I'm missing something.
I did find these, but I don't see how this helps the overall contrast of my app, since (aside from window captions and border colors) these colors aren't used in my application. Besides, changing these colors means changing the windows overall color scheme, which is not something I want to do to my customers. Thanks again.
Unfortunately, the good people who designed this application in all their wisdom thought it would be better to just set the colors from the designer. So no, I just have a bunch rgb values in doc file defining what colors should be used where.
You could look into the possibility of writing a custom control, that took the colour beneath each point in the surface, and inverted it. Effectively acting like a inversion filter, so you'd just display the control over the top of each of the apps form.
Not sure how easy/hard this would be, or even if possible.
Yep, I realize that, but as I said, that will be loads and loads of work for this app.
0) You're paid to work, though, right?
1) You must have had an idea that this requirement would come up. It's ultimately you're fault there's "so much work" involved in the change.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
0) Yes. Fortunately, there is more work to do. If this is something I can fix for this specific customer quickly I'll do it. If not, that's just a shame for this customer, who already bought product knowing this isn't a feature. Trying to fix it for the guy is just a matter of service. My employers won't make any money on it, they will if I work on something else.
1) No and no. You're assuming I wrote all this software myself and you're assuming this would be a reasonable software requirement for this product, which could hardly be less false. Please stop assuming.
Hello. I m stuck with a problem of graph at the end.
I downloaded a source to create a graph in VS 2005. When I run the source it works fine..
There are two ListBoxes in that source, 1st (ul_lbx_DataKey) containing String and 2nd(ul_lbx_DataValue) containing, Float as well as INT...
I want to add data on those listbox from my SQL Server through ADO.NET ... I can add those successfully, but unfortunately, when i click on SHOW GRAPH button, Error Throws..
*There are two listbox 1 and listbox 2
*Datakey = listbox 1 ,, value == listbox2
*No problem in ListBox 1
*Problem in listbox 2.
*When I add STRING item in listbox2, It throws and INCORRECT FORMAT error ////////// --- According to programming this is correct.
*When I add INT item in listbox2, NO error ////////// --- According to programming this is correct.
*When I add FLOAT item in listbox2, NO error ////////// --- According to programming this is correct.
*In database, I changed the datatype of the column binded in listbox 2 .. First I did varchar == ERROR // According to problem, this is correct
*Second, int == Throws Error /// This is WRONG.
*Third FLOAT == Throws Error // This is wrong either.
System.FormatException was unhandled
Message="Input string was not in a correct format."
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Single.Parse(String s)
at GraphV1.Form1.ui_btn_Show_Click(Object sender, EventArgs e) in C:\Documents and Settings\nt_virus - Dell\Desktop\temp\GraphV\GraphV1\GraphV1\Form1.cs:line 46
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at GraphV1.Program.Main() in C:\Documents and Settings\nt_virus - Dell\Desktop\temp\GraphV\GraphV1\GraphV1\Program.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String args)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
I would be very glad, if you will please solve this problem for me.. I wasted my 2 days in it...
Please download the source of that graph from here -- http://is.gd/1dT1
Also, please download my modified graph source from here -- http://is.gd/1dT8
If needed, my small database for test purpose from here -- http://is.gd/1dTc