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.SelectionFont = fntBold;
|
||||
rtb.SelectionFont = font;
|
||||
rtb.SelectedText = txt;
|
||||
}
|
||||
private void dgv_MouseDown(object sender, MouseEventArgs e)
|
||||
|
@ -103,7 +103,8 @@ namespace Volian.Controls.Library
|
||||
this.Visible = false;
|
||||
if (this.Visible)
|
||||
{
|
||||
WalkProcedure();
|
||||
if(RefreshRequired)
|
||||
WalkProcedure();
|
||||
UpdateHistory();
|
||||
}
|
||||
}
|
||||
@ -422,7 +423,7 @@ namespace Volian.Controls.Library
|
||||
lbChanges.Items.Clear();
|
||||
if (MyProcedureInfo == null)
|
||||
{
|
||||
this.Cursor = Cursors.Default;
|
||||
this.ParentForm.Cursor = Cursors.Default;
|
||||
btnViewSummaryReport.Enabled = btnViewChronologyReport.Enabled = lbChanges.Items.Count > 0;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user