Removing my name and some spelling errors. Nothing substantial.

This commit is contained in:
Brian Lambert 2015-12-09 23:10:55 -05:00
parent 6f6426e5e8
commit 1236b0393f
5 changed files with 11 additions and 11 deletions

View File

@ -618,7 +618,7 @@ namespace Project31.ApplicationFramework
{
get
{
Debug.Assert(VirtualWidth <= MaximumColumnWidth, "The column is wider than it's maximum width. Call Brian.");
Debug.Assert(VirtualWidth <= MaximumColumnWidth, "The column is wider than its maximum width.");
return Math.Max(0, MaximumColumnWidth-VirtualWidth);
}
}
@ -630,7 +630,7 @@ namespace Project31.ApplicationFramework
{
get
{
Debug.Assert(VirtualWidth >= MinimumColumnWidth, "The column is narrower than it's minimum width. Call Brian.");
Debug.Assert(VirtualWidth >= MinimumColumnWidth, "The column is narrower than its minimum width.");
return Math.Max(0, VirtualWidth-MinimumColumnWidth);
}
}

View File

@ -240,7 +240,7 @@ namespace OpenLiveWriter.ApplicationFramework
/// </summary>
public void Activate()
{
Debug.Assert(!activated, "CommandContextManager already activated. Call Brian.");
Debug.Assert(!activated, "CommandContextManager already activated.");
if (!activated)
{
commandManager.Add(activatedCommandCollection);
@ -253,7 +253,7 @@ namespace OpenLiveWriter.ApplicationFramework
/// </summary>
public void Deactivate()
{
Debug.Assert(activated, "CommandContextManager not activated. Call Brian.");
Debug.Assert(activated, "CommandContextManager not activated.");
if (activated)
{
commandManager.Remove(activatedCommandCollection);
@ -274,7 +274,7 @@ namespace OpenLiveWriter.ApplicationFramework
/// </summary>
public void Enter()
{
//Debug.Assert(!entered, "CommandContextManager already entered. Call Brian.");
//Debug.Assert(!entered, "CommandContextManager already entered.");
if (!entered)
{
commandManager.Add(enteredCommandCollection);
@ -287,7 +287,7 @@ namespace OpenLiveWriter.ApplicationFramework
/// </summary>
public void Leave()
{
//Debug.Assert(entered, "CommandContextManager not entered. Call Brian.");
//Debug.Assert(entered, "CommandContextManager not entered.");
if (entered)
{
commandManager.Remove(enteredCommandCollection);

View File

@ -366,7 +366,7 @@ namespace OpenLiveWriter.ApplicationFramework
// Return the command that the user selected.
CommandOwnerDrawMenuItem commandOwnerDrawMenuItem = LocateCommandOwnerDrawMenuItem(MenuItems, menuID);
Debug.Assert(commandOwnerDrawMenuItem != null, "CommandContextMenu.ShowModal was not able to locate the CommandOwnerDrawMenuItem corresponding to the user's selection. Call Brian.");
Debug.Assert(commandOwnerDrawMenuItem != null, "CommandContextMenu.ShowModal was not able to locate the CommandOwnerDrawMenuItem corresponding to the user's selection.");
return commandOwnerDrawMenuItem.Command;
}

View File

@ -1058,7 +1058,7 @@ namespace OpenLiveWriter.ApplicationFramework
return;
// Ensure that the sender is who we think it is.
Debug.Assert(sender is TabSelectorLightweightControl, "Doh!", "Bad event wiring is the leading cause of code decay. Call Brian.");
Debug.Assert(sender is TabSelectorLightweightControl, "Doh!", "Bad event wiring is the leading cause of code decay.");
if (sender is TabSelectorLightweightControl)
{
@ -1077,7 +1077,7 @@ namespace OpenLiveWriter.ApplicationFramework
private void TabSelectorLightweightControl_Selected(object sender, EventArgs e)
{
// Ensure that the sender is who we think it is.
Debug.Assert(sender is TabSelectorLightweightControl, "Doh!", "Bad event wiring is the leading cause of code decay. Call Brian.");
Debug.Assert(sender is TabSelectorLightweightControl, "Doh!", "Bad event wiring is the leading cause of code decay.");
if (sender is TabSelectorLightweightControl)
{
// Set the selected tab entry.

View File

@ -863,7 +863,7 @@ namespace OpenLiveWriter.ApplicationFramework
{
get
{
Debug.Assert(VirtualWidth <= MaximumColumnWidth, "The column is wider than it's maximum width. Call Brian.");
Debug.Assert(VirtualWidth <= MaximumColumnWidth, "The column is wider than it's maximum width.");
return Math.Max(0, MaximumColumnWidth - VirtualWidth);
}
}
@ -875,7 +875,7 @@ namespace OpenLiveWriter.ApplicationFramework
{
get
{
Debug.Assert(VirtualWidth >= MinimumColumnWidth, "The column is narrower than it's minimum width. Call Brian.");
Debug.Assert(VirtualWidth >= MinimumColumnWidth, "The column is narrower than it's minimum width.");
return Math.Max(0, VirtualWidth - MinimumColumnWidth);
}
}