-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor feature update #162
base: main
Are you sure you want to change the base?
Minor feature update #162
Conversation
…n just falling back
…s wrong Show filename on MouseHover in TabControl
# Conflicts: # EDSEditorGUI/DeviceODView.Designer.cs # EDSEditorGUI/DeviceODView.cs # libEDSsharp/CanOpenNodeExporter.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few comments and i to me the change here introduces a bug.
If you create a device then remove it save in the menu is not disabled
CANopenEditor/EDSEditorGUI/Form1.Designer.cs
Line 299 in 0c97545
this.tabControl1.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.tabControl1_ControlsChanged); |
My nitpicking brain may also want to revert the changes in tabControl1_MouseClick as there is no actual change AFIK, but feel free to ignore that
this.tabControl1.Size = new System.Drawing.Size(1599, 909); | ||
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; | ||
this.tabControl1.TabIndex = 2; | ||
this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem); | ||
this.tabControl1.ControlAdded += new System.Windows.Forms.ControlEventHandler(this.tabControl1_ControlsChanged); | ||
this.tabControl1.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.tabControl1_Controlsremoved); | ||
this.tabControl1.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.tabControl1_ControlsChanged); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why this is changed, it looks like it is working as it is?
{ | ||
DeviceView d = (DeviceView)c; | ||
if (d.eds.Dirty == true) | ||
{ | ||
page.BackColor = Color.Tomato; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} |
@@ -449,13 +462,13 @@ private void Eds_onDataDirty(bool dirty, EDSsharp sender) | |||
{ | |||
foreach(Control c in page.Controls) | |||
{ | |||
if(c.GetType() == typeof(DeviceView)) | |||
if (c.GetType() == typeof(DeviceView)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (c.GetType() == typeof(DeviceView)) | |
if(c.GetType() == typeof(DeviceView)) |
using static System.Windows.Forms.VisualStyles.VisualStyleElement; | ||
//using static System.Windows.Forms.VisualStyles.VisualStyleElement; | ||
//using SourceGrid.Cells.Controllers; | ||
//using ToolTip = System.Windows.Forms.ToolTip; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe remove the commented code?
@@ -130,7 +130,7 @@ | |||
gqUTTxJHNd2gfCHts8Z5i7NeLLN6n/yF4ayxvMR1qkHEsYBFyBChoowNFOEgRrtBio0knUst/AOeXyaX | |||
Sq4NMHLMowQdiucH/4Pfs7VzE+N+UlgC2l9c92MYCO0CtYrrfh+7bu0ECD4DV0bDX6oC05+kVxpa9Ajo | |||
2QYurhuaugdc7gD9T6ZiKZ4UpBJyOeD9jL4pA/TeAp2r/tzq5zh9AFI0q8QNcHAIjOQpe63Fuzua5/bn | |||
HW9+kH4AMgFyjcd8GS4AAAAJcEhZcwAACw4AAAsOAUC+4UEAAAAHdElNRQfkCwILIglO4xvLAAAAD3RF | |||
HW9+kH4AMgFyjcd8GS4AAAAJcEhZcwAACwwAAAsMAT9AIsgAAAAHdElNRQfkCwILIglO4xvLAAAAD3RF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a little help with the changes here :D
Add/extend some exception catches to provide more information what was wrong
Show filename on MouseHover in TabControl