예제 #1
0
파일: HelpDesk.cs 프로젝트: pubudu538/WBMSP
        public HelpDesk()
        {
            InitializeComponent();
            accountNo = 1258489;
            isCustomer = true;
            //isCustomer = false;
            cdb = new Converter();

            db = new Water_Board_Management.Database("complaint", "referenceNo");
            db2 = new Water_Board_Management.Database("appeal", "referenceNo");
            db3 = new Water_Board_Management.Database("account", "accountNo");
            db4 = new Water_Board_Management.Database("account", "refno");
            db5=new Water_Board_Management.Database("inprogress","refno");
        }
예제 #2
0
파일: HelpDesk.cs 프로젝트: pubudu538/WBMSP
        public HelpDesk(int id, int acctNo)
        {
            InitializeComponent();
            accountNo = acctNo;
            if (id == 1)
                isCustomer = true;
            else
                isCustomer = false;

            cdb = new Converter();

            db = new Water_Board_Management.Database("complaint", "referenceNo");
            db2 = new Water_Board_Management.Database("appeal", "referenceNo");
            db3 = new Water_Board_Management.Database("account", "accountNo");
            db4 = new Water_Board_Management.Database("account", "refno");
            db5 = new Water_Board_Management.Database("inprogress", "refNo");
        }