Exemple #1
0
        public RepairAdd(RepairList FormAdd)
        {
            Connection connect = new Connection();

            conn = connect.Connect();

            this.Form = FormAdd;
            InitializeComponent();
        }
Exemple #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            //if (this.user[2].ToString() == "ฝ่ายซ่อม")
            // {
            RepairList fm = new RepairList();

            fm.Show();
            // }
            //else
            // {
            //     MessageBox.Show("ขออภัย ท่านไม่ได้รับสิทธิ์สำหรับเมนูนี้");
            //     return;
            // }
        }