96 lines
2.9 KiB
C#
96 lines
2.9 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace SL200_RTLogViewer.subForm
|
|
{
|
|
// Token: 0x02000010 RID: 16
|
|
public class highlowForm : Form
|
|
{
|
|
// Token: 0x14000006 RID: 6
|
|
// (add) Token: 0x06000071 RID: 113 RVA: 0x00007560 File Offset: 0x00005760
|
|
// (remove) Token: 0x06000072 RID: 114 RVA: 0x00007598 File Offset: 0x00005798
|
|
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event highlowForm.DataSender CloseEvent;
|
|
|
|
// Token: 0x06000073 RID: 115 RVA: 0x000075CD File Offset: 0x000057CD
|
|
public highlowForm()
|
|
{
|
|
this.InitializeComponent();
|
|
}
|
|
|
|
// Token: 0x06000074 RID: 116 RVA: 0x000075E5 File Offset: 0x000057E5
|
|
private void button_high_Click(object sender, EventArgs e)
|
|
{
|
|
this.CloseEvent(true);
|
|
base.Close();
|
|
}
|
|
|
|
// Token: 0x06000075 RID: 117 RVA: 0x000075FC File Offset: 0x000057FC
|
|
private void button_low_Click(object sender, EventArgs e)
|
|
{
|
|
this.CloseEvent(false);
|
|
base.Close();
|
|
}
|
|
|
|
// Token: 0x06000076 RID: 118 RVA: 0x00007614 File Offset: 0x00005814
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
bool flag = disposing && this.components != null;
|
|
if (flag)
|
|
{
|
|
this.components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
// Token: 0x06000077 RID: 119 RVA: 0x0000764C File Offset: 0x0000584C
|
|
private void InitializeComponent()
|
|
{
|
|
this.button_high = new Button();
|
|
this.button_low = new Button();
|
|
base.SuspendLayout();
|
|
this.button_high.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
|
|
this.button_high.Location = new Point(1, 2);
|
|
this.button_high.Name = "button_high";
|
|
this.button_high.Size = new Size(75, 37);
|
|
this.button_high.TabIndex = 0;
|
|
this.button_high.Text = "HIGH";
|
|
this.button_high.UseVisualStyleBackColor = true;
|
|
this.button_high.Click += this.button_high_Click;
|
|
this.button_low.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
|
|
this.button_low.Location = new Point(79, 2);
|
|
this.button_low.Name = "button_low";
|
|
this.button_low.Size = new Size(75, 37);
|
|
this.button_low.TabIndex = 1;
|
|
this.button_low.Text = "LOW";
|
|
this.button_low.UseVisualStyleBackColor = true;
|
|
this.button_low.Click += this.button_low_Click;
|
|
base.AutoScaleMode = AutoScaleMode.None;
|
|
this.BackColor = SystemColors.HotTrack;
|
|
base.ClientSize = new Size(155, 42);
|
|
base.Controls.Add(this.button_low);
|
|
base.Controls.Add(this.button_high);
|
|
base.FormBorderStyle = FormBorderStyle.None;
|
|
base.Name = "highlowForm";
|
|
this.Text = "highlowForm";
|
|
base.ResumeLayout(false);
|
|
}
|
|
|
|
// Token: 0x04000051 RID: 81
|
|
private IContainer components = null;
|
|
|
|
// Token: 0x04000052 RID: 82
|
|
private Button button_high;
|
|
|
|
// Token: 0x04000053 RID: 83
|
|
private Button button_low;
|
|
|
|
// Token: 0x0200005D RID: 93
|
|
// (Invoke) Token: 0x060001A8 RID: 424
|
|
public delegate void DataSender(bool value);
|
|
}
|
|
}
|