Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragouf committed Aug 1, 2013
1 parent 73d56d7 commit 933e63e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 17 deletions.
44 changes: 31 additions & 13 deletions CbrConverter/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions CbrConverter/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ private void ErrorShowPopup(Extract m, string e)
//pbar_TotalProgress.Value = 0;
//pbar_ActualFile.Value = 0;
//lbl_ProcessingFile.Text =string.Empty;

this.textBoxLog.Text += e + Environment.NewLine;
listViewLog.Items.Add(new ListViewItem(new List<string>{ (listViewLog.Items.Count + 1).ToString(), e}.ToArray()));
//this.textBoxLog.Text += e + Environment.NewLine;
ShowLog();
});
//MessageBox.Show(e, "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error);
Expand Down Expand Up @@ -189,7 +189,7 @@ private int LogTopPosition
{
Rectangle screenRectangle = RectangleToScreen(this.ClientRectangle);
int titleHeight = screenRectangle.Top - this.Top;
return this.textBoxLog.Top + titleHeight - 1;
return this.listViewLog.Top + titleHeight - 1;
}
}

Expand All @@ -199,7 +199,7 @@ private int LogBottomPosition
{
Rectangle screenRectangle = RectangleToScreen(this.ClientRectangle);
int titleHeight = screenRectangle.Top - this.Top;
return this.textBoxLog.Bottom + titleHeight + 4;
return this.listViewLog.Bottom + titleHeight + 10;
}
}

Expand Down
Binary file modified Compiled/CbrConverter.exe
Binary file not shown.

0 comments on commit 933e63e

Please sign in to comment.