- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hi, I want to serialze an object. I use the binary formatter because it's a very complex object. I solved a lot of SerializationExceptions, but there are two that I don't understand or know how to handle. It says "The type "Ivi.Visa.Interop.FormattedIO488Class" in assembly "Ivi.Visa.Interop, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1" is not … |
|
Hello, I have several textboxes and it is possible to write something in one of them and then without losing the focus I could or would save the input. But there is no FocusLost and therefore the TextChanged event doesn't fire. How can I save the input of one these … |
|
Hey guys, I'm trying to move data by clicking on a QPushButton from one QTreeView in the second QTreeView. Do you know how to do this. I know that I have to connect the QPushButton with a method which makes this possible. I don't really know how this method looks … |
|
Hi, I want to execute a tcl command with a python method. I don't really know how this works. This is my tcl command: <object> config -<parameter> Now I want a python method, that should look like this: def config(config_obj, parameter): #code which executes the tcl command Do you know … |
|
Hi, it is jinxed. I don't find another solution. The code which doesn't work is very simple. While watching it with a breakpoint, IT WORKS! Otherwise it doesn't. I don't know why and it's driving me crazy. There are two comboboxes. The choosen item is the title of the x/y-axis … |
|
Hi, I don't find a solution for my problem. The important classes in my measurement program for this problem are: public partial class Preview : Form { //... private void Preview_Load(object sender, EventArgs e) { CreateZGC(numberOfGraphs); //Creation of the ZedGraphControls. ShowZGC(); // Adds the ZedGraphControls to the form 'Preview'. LabelGraph(); … |
|
Hey, following Problem: I have two classes Measurement and its subclass DC_Measurement. Measurement has a method called: [CODE]public virtual SetPoint[,] createSetPointArray()[/CODE] DC_Measurement: [CODE]public override DCSetPoint[,] createSetPointArray()[/CODE] DCSetPoint is also a subclass of SetPoint. I read that this is possible. Now I use in my mainWindow following code which contains an … |
|
I know, that you can't set the value of CancellationPending of the BackgroundWorker class The default is false. If you call the CancelAsync()-method, CancellationPending is true. I need to call this method, that my program stops measuring. Now you are back on the GUI. You can change values and again … |
|
Hey, I created a form with many controls. It's a GUI for a measurement program. Therefore some controls must be disabled and some enabled. When the START button is pressed, every control should be disabled except the ABORT button. It works with following code: [CODE] // Disable each control in … |
|
Hey guys, I created a main GUI for a measurement program. Beside all existing controls, there are two important buttons. START and ABORT. By pressing the START button, a method for measuring is run. Now I can not press any control on the form. That's okay, but I need the … |
|
Hey guys, I want my form to hide instead to close by clicking on the red X button. Because when it's closed the form is deleted. I searched a lot to find a good solution, but nothing works. Many people wrote that following code: [CODE]private void Form1_OnClosing(object sender, FormClosingEventArgs e) … |