Newer
Older
EMS_SZ / FrmAPPAuditor.cs
root on 21 Mar 2016 1 KB first
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using System.Collections;

namespace Cyberpipe
{
    public partial class FrmAPPAuditor : Office2007Form
    {
        ArrayList auditorlist = new ArrayList();
        public FrmAPPAuditor()
        {
            InitializeComponent();
        }
        public FrmAPPAuditor(ArrayList _auditorList)
        {
            InitializeComponent();
            auditorlist = _auditorList;
        }

        private void FrmAPPAuditor_Load(object sender, EventArgs e)
        {
            for(int i=0;i<auditorlist.Count;i++){
                auditorListbox.Items.Add((string)auditorlist[i]);
            }
        }

        private void buttonX2_Click(object sender, EventArgs e)
        {
            Close(); 
        }

        private void buttonX1_Click(object sender, EventArgs e)
        {
            FrmAPPFORASK.auditor = auditorListbox.Text;
            Close();
        }


    }
}