laatzen/ServiceFwUpdate/Ui/ServiceFwUpdateSw/FrmHistory.cs
2021-10-01 11:11:04 +02:00

38 lines
934 B
C#

using System;
using System.Windows.Forms;
namespace Xylem.ServiceFwUpdate.Ui.ServiceFwUpdateSw
{
/// <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();
}
}
}