C024-039_Button_on_Applicability_Tab_to_change_all_at_same_level_for_setting_the_item_mode-2 #714

Showing only changes of commit 2aaaa55e42 - Show all commits

View File

@@ -64,7 +64,6 @@ namespace Volian.Controls.Library
if (_MyDisplayTabItem.MyStepTabPanel != null)
{
MyItemInfo = _MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedItemInfo;
MyEditItem = MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedEditItem;
}
mschill marked this conversation as resolved Outdated

Not sure if I am missing something, but I am not seeing where this is used? -- is MyEditItem needed?

Not sure if I am missing something, but I am not seeing where this is used? -- is MyEditItem needed?

Looking over this, it looks like it is not need here. I will remove it.

Looking over this, it looks like it is not need here. I will remove it.
else
{
@@ -283,7 +282,6 @@ namespace Volian.Controls.Library
}
private void BtnApplicabilitychg_Click(object sender, System.EventArgs e)
{
EditItem topEditItem = MyEditItem;
Volian.Base.Library.BigNum MasterSlave_ApplicabilityTmp;
StepConfig sc = MyItemInfo.MyConfig as StepConfig;
MasterSlave_ApplicabilityTmp = sc.MasterSlave_Applicability;
mschill marked this conversation as resolved
Review

Remove commented out code

Remove commented out code
@@ -291,8 +289,6 @@ namespace Volian.Controls.Library
MyEditItem = MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedEditItem;
mschill marked this conversation as resolved
Review

Is this still needed?

Is this still needed?
Review

It was needed in one solution, but no longer needed.

It was needed in one solution, but no longer needed.
ItemInfo startitm = MyItemInfo.FirstSibling;
mschill marked this conversation as resolved
Review

Remove commented out code

Remove commented out code
topEditItem = MyEditItem.MyStepPanel._LookupEditItems[startitm.ItemID];
while (startitm != null)
{
StepConfig sc2 = startitm.MyConfig as StepConfig;
mschill marked this conversation as resolved
Review

Not sure if I am missing something, but I am not seeing where this is used? -- is topEditItem needed?

Not sure if I am missing something, but I am not seeing where this is used? -- is topEditItem needed?
Review

Looking over this, it looks like it is not need here. I will remove it.

Looking over this, it looks like it is not need here. I will remove it.