Renamed fntBold to font since it is not necessarily bold.
Two minor corrections
This commit is contained in:
parent
384a30aa23
commit
fbb5023132
@ -502,10 +502,10 @@ namespace Sync
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void AddText(RichTextBox rtb, Font fntBold, string txt)
|
private static void AddText(RichTextBox rtb, Font font, string txt)
|
||||||
{
|
{
|
||||||
rtb.Select(rtb.TextLength, 0);
|
rtb.Select(rtb.TextLength, 0);
|
||||||
rtb.SelectionFont = fntBold;
|
rtb.SelectionFont = font;
|
||||||
rtb.SelectedText = txt;
|
rtb.SelectedText = txt;
|
||||||
}
|
}
|
||||||
private void dgv_MouseDown(object sender, MouseEventArgs e)
|
private void dgv_MouseDown(object sender, MouseEventArgs e)
|
||||||
|
@ -103,6 +103,7 @@ namespace Volian.Controls.Library
|
|||||||
this.Visible = false;
|
this.Visible = false;
|
||||||
if (this.Visible)
|
if (this.Visible)
|
||||||
{
|
{
|
||||||
|
if(RefreshRequired)
|
||||||
WalkProcedure();
|
WalkProcedure();
|
||||||
UpdateHistory();
|
UpdateHistory();
|
||||||
}
|
}
|
||||||
@ -422,7 +423,7 @@ namespace Volian.Controls.Library
|
|||||||
lbChanges.Items.Clear();
|
lbChanges.Items.Clear();
|
||||||
if (MyProcedureInfo == null)
|
if (MyProcedureInfo == null)
|
||||||
{
|
{
|
||||||
this.Cursor = Cursors.Default;
|
this.ParentForm.Cursor = Cursors.Default;
|
||||||
btnViewSummaryReport.Enabled = btnViewChronologyReport.Enabled = lbChanges.Items.Count > 0;
|
btnViewSummaryReport.Enabled = btnViewChronologyReport.Enabled = lbChanges.Items.Count > 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user