FrmBuFurnShow.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace Core.StlMes.Client.PlnSaleOrd.炼钢计划.control
  10. {
  11. public partial class FrmBuFurnShow : Form
  12. {
  13. private string txt = "";
  14. public FrmBuFurnShow(string text)
  15. {
  16. txt = text;
  17. InitializeComponent();
  18. }
  19. private string falg = "";
  20. public string Falg
  21. {
  22. get { return falg; }
  23. set { falg = value; }
  24. }
  25. private void button1_Click(object sender, EventArgs e)
  26. {
  27. falg = "1";
  28. this.Close();
  29. }
  30. private void button2_Click(object sender, EventArgs e)
  31. {
  32. falg = "2";
  33. this.Close();
  34. }
  35. private void button3_Click(object sender, EventArgs e)
  36. {
  37. falg = "3";
  38. this.Close();
  39. }
  40. private void FrmBuFurnShow_Load(object sender, EventArgs e)
  41. {
  42. label1.Text = txt;
  43. }
  44. }
  45. }