MKM
MKM
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
No description
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
ill try that now
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
okay thank you very much
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
they can be invoked whilst the calculation thread is running but not by it
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
the calculation thread doesnt invoke any though so im confused
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
is there a cleaner way to do this or is that it
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
ah okay so i must invoke all my ui events becuase the calculation thread is always running
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
sorry just to make sure so i have this calculation thread and everything else on the ui thread, and so all events that need to be on ui thread need to be invoked because they canbe called whilst the calculation thread is running
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
would i do this for all events?
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
and invoke them?
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
okay so would i have to modify every single one of my methods
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
winforms
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
@Nasdack
34 replies
CC#
Created by MKM on 10/22/2024 in #help
Trying to get started with threads but UI thread giving cross thread exceptions?
{Value = {"Cross-thread operation not valid: Control 'TRACKBAR_Throttle' accessed from a thread other than the thread it was created on."} Min = 0 Max = 100}
34 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
like this:
g.TranslateTransform(CentreScene.X, CentreScene.Y + RodLength + CompressionHight);
g.RotateTransform(315); // Use first piston tilt angle
g.TranslateTransform(-CentreScene.X, -CentreScene.Y - RodLength - CompressionHight);
g.TranslateTransform(CentreScene.X, CentreScene.Y + RodLength + CompressionHight);
g.RotateTransform(315); // Use first piston tilt angle
g.TranslateTransform(-CentreScene.X, -CentreScene.Y - RodLength - CompressionHight);
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
hiya man thought id let you know i managed to get it to work perfectly by changing the transforsm to include the fly wheels y coordinate offset and its all working now 🎊
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
alright thanks again for your help :thumbsupsmiley:
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
will do might not be tonight though how long do threads stay open as i have work tommorow morning 🙄
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
its such ugly code too i have no idea how you managed
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
im going to test it without the centre being off centre and let you know what it does, but once again thanks so much
49 replies