|
|
@@ -270,6 +270,7 @@ namespace UAS_LabelMachine
|
|
|
SetPrintStatus_label.ForeColor = Color.Red;
|
|
|
SetPrintStatus_label.Text = "暂停打印";
|
|
|
}
|
|
|
+ Input.Text = "";
|
|
|
return;
|
|
|
}
|
|
|
Dictionary<string, string> Data = new Dictionary<string, string>();
|
|
|
@@ -1775,5 +1776,18 @@ namespace UAS_LabelMachine
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ private void GridPrcode_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
|
|
|
+ {
|
|
|
+ if (e.Button == MouseButtons.Right)
|
|
|
+ {
|
|
|
+ if (e.RowIndex >= 0 && e.ColumnIndex > 0)
|
|
|
+ {
|
|
|
+ string Conetent = GridPrcode.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
|
|
|
+ Clipboard.SetText(Conetent);
|
|
|
+ MessageBox.Show("已复制内容" + Conetent);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|