49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Data;
|
|||
|
using System.Drawing;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace SuperDesign.Tools.UpLog
|
|||
|
{
|
|||
|
public partial class FrmCompareLog : Form
|
|||
|
{
|
|||
|
public FrmCompareLog()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
private void SetSize()
|
|||
|
{
|
|||
|
Rich1.Width = Rich2.Width = (this.ClientSize.Width - 8) / 2;
|
|||
|
Rich1.Height = Rich2.Height = this.ClientSize.Height - Rich1.Top - 2;
|
|||
|
Rich2.Left = Rich1.Left + Rich1.Width + 4;
|
|||
|
Lbl1.Left = Rich1.Left=2;
|
|||
|
Lbl2.Left = Rich2.Left;
|
|||
|
}
|
|||
|
private void FrmCompareLog_Resize(object sender, EventArgs e)
|
|||
|
{
|
|||
|
SetSize();
|
|||
|
}
|
|||
|
|
|||
|
private void FrmCompareLog_Load(object sender, EventArgs e)
|
|||
|
{
|
|||
|
Rich1.WordWrap = Rich2.WordWrap = false;
|
|||
|
SetSize();
|
|||
|
}
|
|||
|
|
|||
|
private void BtnSubmit_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
DialogResult = DialogResult.OK;
|
|||
|
}
|
|||
|
|
|||
|
private void BtnCancel_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
DialogResult = DialogResult.Cancel;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|