I have a datagrid that is populated via XML file when the form loads. Everything is working great but I would like the datagrid to update dynamically when a new order is received (Separate class receives a data stream and updates the file).
Im looking for suggestions on how this should be done. (ie using a timer update every second, ...
Hi everyone. Im trying to integrate a toolwindow in a Winforms application, it will be a tiny floating window to display element details in a listbox. What I need is pop the window in a relative position to the control that triggers the action, so here is the thing: the Location property gives me the relative position of the control from...
The following seems to be a relatively common pattern (to me, not to the community at large) to bind a string variable to the contents of a TextBox.
class MyBackEndClass
{
public event EventHandler DataChanged;
string _Data;
public string Data
{
get { return _Data; }
set
{
_Data = valu...
Hi,
How to develop winforms (like .net winforms) for Mac Os?
What language needs to be used if need to develop app quickly, if there is lot of overhead using .net for Mac?
Please share your quick useful thoughts.
Thanks in advance,
Karthick
...
We would like under some circumstances to block the action of the close button in the title bar. The problem is that it's a MDI applications and it seems that we will have to add code in each forms to cancel the operation in the Closingevent handler. It seems that the child forms are the first to receive the event. There is no way to add...
How to construct new variable in C#.
I mean, to have sth like this
public void updateXXX(string endingOfVariable, int newValue)
{
this.textBox_{endingOfVariable} = newValue;
}
This is implemented in Php:
$a = 'var'; $b = 'iable';
$variable = 'var';
echo ${$a.$b};
But maybe it is possible in C#.
The problem is that - I created ...
It seems that the checkbox used in a ListView when CheckBoxes = true isn't a proper checkbox. It doesn't draw the MouseOver or MouseDown state and it doesn't support the Indeterminate/Intermediate state. How can I replace the checkbox with a standard checkbox control or take control of the drawing of just the checkbox so I can use the ...
I'm using Visual Studio 2008, SyncFusion Essential Studio Enterprise Edition, (WinForms) version 7.203.0.20.
I was wondering if anyone can help me out on a small question: how can I specify a custom color for each line in my line chart?
...
Is it possible to add links that will just be links, i.e. not urls or file links but thinks like:
click me, do something
etc
Is this possible? IF so, how do I do this? Basically I just need to mark certain text inside the RichTextBox as links so I can perform operations depending on what link is clicked.
...
Say I clicked somewhere inside a RichTextBox control. How can I get the current line the caret is currently on?
Btw this is to retrieve the whole text string of that line.
...
Hi Folks,
We have a current WinForm/Windows Service running in .NET 1.1 out on various customer sites that is getting data from internal systems, transforming it and then calling a Web Service synchronously.
This client app will no longer work in Vista or Windows 7 etc.. and its time to update!!
I was looking for ideas on what I coul...
I'm designing a simple expander control.
I've derived from UserControl, drawn inner controls, built, run; all ok.
Since an inner Control is a Panel, I'd like to use it as container at design time. Indeed I've used the attributes:
[Designer(typeof(ExpanderControlDesigner))]
[Designer("System.Windows.Forms.Design.ParentControlDesigner, ...
I would like to databind to a property that requires arguments.
What is the best way do to this? are there work arounds? I'm open to any suggestions.
I thought about defining custom columns and cells because the parameters that the property requires are available from the within the object bound to the row, but I'm having trouble mater...
I'm using Windows Forms. For a long time, pictureBox.Invalidate(); worked to make the screen be redrawn. However, it now doesn't work and I'm not sure why.
this.worldBox = new System.Windows.Forms.PictureBox();
this.worldBox.BackColor = System.Drawing.SystemColors.Control;
this.worldBox.BorderStyle = System.Windows.Forms.BorderStyle.Fix...
I know the DataReceived event is fired on a background thread. How do I tell the GUI thread to show the data in the event handler?
...
Please go to this website : http://www.dofellow.com/ and see the software video.
This guy is giving values to webBrowser control text boxes from database / datagrid / textbox etc.
Can anyone tell me how is he doing that ? I think every website have different ids for text boxes then how he is giving values to those fields ?
Also, how i...
I could not find any information about new WinForm features, exept for this blog post:
http://blog.codinglight.com/2009/05/future-of-winforms-whats-changed-in.html
which states:
213 types were changed, and 9 types
were added. 596 methods were changed,
50 were added, and 8 were removed.
So whats in these changes, for joe deve...
We have a desktop application that has been using MapPoint for displaying data on a European map. We now want to support Middle East maps, but MapPoint only support North America and Europe. Is there any other alternative to MapPoint that can be easily integrated in a .NET based Win Forms application?
...
Hello,
I'm looking for a decent WPF or Winform time range selector, much like a home central heating system, where a time range is selectable.
http://lhill.com.au/l%20hill%20web%20page%20pictures/time%20clock%202.jpg
Is there any GUI libraries or examples available to fulfill this need?
...
Hi, im trying to add a "rating" system to an existing form (i.e 1 star, 2 Star or poor, average,good,excellent etc).
Does anyone know of a way to achieve this that is aesthetically pleasing with good UX either in .Net or a free 3rd party control?
Thanks
...