public rptPD()
        {
            InitializeComponent();

            dt = new DataTable();
            pd = new pdClass();
        }
Esempio n. 2
0
        ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////////                                          Event                                            //////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
        private void frmNewUmat_Load(object sender, EventArgs e)
        {
            umat = new umatClass();
            pd   = new pdClass();

            LblMenu.BackColor = ColorTranslator.FromHtml("#58D3F7");
            lblId.Text        = getMaxNo();

            this.KeyDown += new KeyEventHandler(this.frmNewUmat_KeyDown);
        }
Esempio n. 3
0
        private void frmLogin_Load(object sender, EventArgs e)
        {
            LblMenu.BackColor = ColorTranslator.FromHtml("#58D3F7");
            dtList            = new DataTable();
            dtUmat            = new DataTable();
            dvList            = new DataView();
            dvUmat            = new DataView();
            pd = new pdClass();

            this.VisibleChanged                   += new EventHandler(this.rptPD_VisibleChanged);
            this.dtDariPD.TextChanged             += new EventHandler(this.dtDariPD_TextChanged);
            this.dtSampaiPD.TextChanged           += new EventHandler(this.dtSampaiPD_TextChanged);
            this.txtPewarta.TextChanged           += new EventHandler(this.txtPewarta_TextChanged);
            this.txtTema.TextChanged              += new EventHandler(this.txtTema_TextChanged);
            this.tabControl1.SelectedIndexChanged += new EventHandler(this.tabControl1_SelectionIndexChanged);
        }
Esempio n. 4
0
        private void frmKebaktian_Load(object sender, EventArgs e)
        {
            pd           = new pdClass();
            dt           = new DataTable();
            dv           = new DataView();
            LblMenu.Text = "PERSEKUTUAN DOA";

            LblMenu.BackColor    = ColorTranslator.FromHtml("#58D3F7");
            this.VisibleChanged += new EventHandler(this.frmKebaktian_VisibleChanged);
            this.dgvUmat.CurrentCellDirtyStateChanged += new EventHandler(this.dgvUmat_CurrentCellDirtyStateChanged);
            this.txtCari.TextChanged += new EventHandler(this.txtCari_TextChanged);
            this.tabControl1.SelectedIndexChanged += new EventHandler(this.tabControl1_SelectionIndexChanged);
            this.dtKebaktian.LostFocus            += new EventHandler(this.dtKebaktian_LostFocus);

            initiateDT();
        }
Esempio n. 5
0
        private void frmLogin_Load(object sender, EventArgs e)
        {
            LblMenu.BackColor = ColorTranslator.FromHtml("#58D3F7");

            this.VisibleChanged                   += new EventHandler(this.rptPD_VisibleChanged);
            this.tabControl1.DrawItem             += new DrawItemEventHandler(this.tabControl1_DrawItem);
            this.tabControl1.SelectedIndexChanged += new EventHandler(this.tabControl1_SelectedIndexChanged);

            pd       = new pdClass();
            dtGlobal = new DataTable();
            dtAlpha  = new DataTable();
            dvAlpha  = new DataView();
            dtGlobal = pd.callPDGlobal();

            //initDgvAlpha();
        }