Example #1
0
        private void FRM_RPTROOTWISEPENDING_Load(object sender, EventArgs e)
        {
            function.settheme(this);
            DataSet ds = bl_obj.blFill("SP_RootTransaction");

            function.fillcombo(cmbRootName, ds.Tables[1]);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;   // Do not resize the form.
        }
Example #2
0
        private void FRM_RPTSALES_Load(object sender, EventArgs e)
        {
            //function.settheme(this);
            DataSet ds = bl_obj.blFill("SP_CustomerMaster");

            function.fillcombo(cmbCustomerName, ds.Tables[0]);
            DataSet ds1 = bl_obj.blFill("SP_ItemMaster");

            function.fillcombo(cmbProductName, ds1.Tables[0]);

            lblCustomerName.Visible = false;
            cmbCustomerName.Visible = false;
            lblProductName.Visible  = false;
            cmbProductName.Visible  = false;

            optDatewise.Checked  = true;
            dtpFromDate.Value    = Convert.ToDateTime("01/04/2017");
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;   // Do not resize the form.
        }
        private void FRM_Customer_Ledger_Load(object sender, EventArgs e)
        {
            para.Clear();
            paraname.Clear();
            paraname.Add("@flag");
            para.Add("12");
            DataSet ds = bl_obj.blFill_para_name(paraname, para, "SP_FILLDDL");

            function.fillcombo(cmbCustomerName, ds.Tables[0]);
            dtpFromDate.Value = Convert.ToDateTime("01/04/2017");
        }
Example #4
0
        private void FRM_RPTGENERALLEDGER_Load(object sender, EventArgs e)
        {
            //function.settheme(this);
            //DataSet ds = bl_obj.blFill("SP_CustomerMaster");
            para.Clear();
            paraname.Clear();
            paraname.Add("@flag");
            para.Add("11");
            DataSet ds = bl_obj.blFill_para_name(paraname, para, "SP_FILLDDL");

            function.fillcombo(cmbCustomerName, ds.Tables[0]);
            dtpFromDate.Value = Convert.ToDateTime("01/04/2017");
        }