Skip to content

Commit

Permalink
#46 UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
imranakram committed Aug 19, 2019
1 parent 8cd173f commit 70f6fc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Xrm.Sdk.PluginRegistration/MainControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ private void toolEnable_Click(object sender, EventArgs e)
step.Enabled = !step.Enabled;
UpdateEnableButton(step.Enabled);
trvPlugins.RefreshNode(trvPlugins.SelectedNode.NodeId);

trvPlugins.Refresh();
MessageBox.Show($"Step {messageItem}d successfully.", $"{captionItem} Step", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
Expand Down Expand Up @@ -2381,6 +2381,7 @@ private void mnuDisableAllSteps_Click(object sender, EventArgs e)
RegistrationHelper.UpdateStepStatus(m_org, step.StepId, false);
UpdateEnableButton(step.Enabled);
trvPlugins.RefreshNode(trvPlugins.SelectedNode.NodeId);
trvPlugins.Refresh();
}
}
}
Expand All @@ -2397,6 +2398,7 @@ private void mnuDisableAllSteps_Click(object sender, EventArgs e)
RegistrationHelper.UpdateStepStatus(m_org, step.StepId, false);
UpdateEnableButton(step.Enabled);
trvPlugins.RefreshNode(trvPlugins.SelectedNode.NodeId);
trvPlugins.Refresh();
}
}
}
Expand Down

0 comments on commit 70f6fc2

Please sign in to comment.