You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rs.DeweyTester/Rs.DeweyTester/GrrScanFailFrm.cs

35 lines
793 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 Rs.MotionPlat
{
public partial class GrrScanFailFrm : BaseFormHeader
{
Action<int,string> action;
public GrrScanFailFrm(Action<int,string> act)
{
action = act;
InitializeComponent();
}
private void btnRetry_Click(object sender, EventArgs e)
{
action?.Invoke(0, "");
this.Close();
}
private void btnFillQrcode_Click(object sender, EventArgs e)
{
action?.Invoke(1,txtQrcode.Text);
this.Close();
}
}
}