banboshi_V1/halftoneproject-master/AssistClient/FrmRepairInfo.cs
2023-11-01 15:13:54 +08:00

42 lines
968 B
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 AssistClient
{
public partial class FrmRepairInfo : Form
{
public string RepairInfo;
public FrmRepairInfo()
{
InitializeComponent();
}
private void FrmRepairInfo_Load(object sender, EventArgs e)
{
this.RepairInfo = this.tbInfo.Text = "";
this.btnCancel.Select();
}
private void btnSave_Click(object sender, EventArgs e)
{
this.RepairInfo = this.tbInfo.Text;
this.DialogResult = DialogResult.OK;
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult= DialogResult.Cancel;
}
}
}