FrmAttribute.cs 1.1 KB
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace App
{
    public partial class FrmAttribute : App.FrmBase
    {
        public FrmAttribute(string date, string time, string testTime,
            string testSolvent,
            string testMode ,
            string solventTemp ,
            string factory ,
            string department ,
            string operators )
        {
            InitializeComponent();
            this.SetLanguage(this);

            txt_Date.Text = date;
            txt_Time.Text = time;
            txt_TestTime.Text = testTime;
            txt_TestSolvent.Text = testSolvent;
            txt_TestMode.Text = testMode;
            txt_Factory.Text = factory;
            txt_Department.Text = department;
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

    }
}