Exemple #1
0
        public W28110(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            this.Text = _ProgramID + "─" + _ProgramName;

            GridHelper.SetCommonGrid(gvMain);

            daoSTW   = new STW();
            daoSTWD  = new STWD();
            daoAMIF  = new AMIF();
            dao28110 = new D28110();
            dao20110 = new D20110();
        }
        public W28110(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            this.Text = _ProgramID + "─" + _ProgramName;

            gcMain.Visible = false;

            daoSTW   = new STW();
            daoSTWD  = new STWD();
            daoAMIF  = new AMIF();
            dao28110 = new D28110();
            dao20110 = new D20110();
        }
Exemple #3
0
        public W30055(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            this.Text = _ProgramID + "─" + _ProgramName;

            GridHelper.SetCommonGrid(gvMsg);
            gcMsg.Visible = false;
            gvMsg.OptionsBehavior.Editable            = false;
            gvMsg.OptionsBehavior.AutoPopulateColumns = true;
            gvMsg.OptionsView.ColumnAutoWidth         = true;

            dtMsg = new DataTable("ProcessMessage");
            dtMsg.Columns.Add(new DataColumn("SheetName"));
            dtMsg.Columns.Add(new DataColumn("SheetSubTitle"));
            dtMsg.Columns.Add(new DataColumn("SubMsg"));
            dtMsg.Columns.Add(new DataColumn("Msg"));

            dao30055 = new D30055();
            amif     = new AMIF();
            ai2      = new AI2();
        }