38 lines
922 B
C#
38 lines
922 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Xylem.Common.Ui.GenesisToolBox
|
|
{
|
|
/// <summary>
|
|
/// History display of update process
|
|
/// </summary>
|
|
[Serializable]
|
|
public partial class FrmHistory : Form
|
|
{
|
|
/// <summary>
|
|
/// Ctor
|
|
/// </summary>
|
|
public FrmHistory()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void FrmHistory_FormClosing(Object sender, FormClosingEventArgs e)
|
|
{
|
|
//avoid destroying of object
|
|
e.Cancel = true;
|
|
//instead just hide it
|
|
Hide();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Select always the last line for the display.
|
|
/// </summary>
|
|
private void rtbHistory_TextChanged(Object sender, EventArgs e)
|
|
{
|
|
//rtbHistory.SelectionStart = rtbHistory.Text.Length;
|
|
//rtbHistory.ScrollToCaret();
|
|
}
|
|
}
|
|
}
|