コード例 #1
0
 private void frmCompAnalaysis_Load(object sender, EventArgs e)
 {
     CommFun.SetMyGraphics();
     CommFun.m_sFuncName    = BsfGlobal.GetFunctionalName("Flat");
     barStaticItem2.Caption = CommFun.m_sFuncName + " Type";
     PopulateCostCentre();
 }
コード例 #2
0
 private void frmCompetitorFlatType_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     this.Text           = "Competitor " + CommFun.m_sFuncName + "Type";
     CommFun.SetMyGraphics();
     Fill_FlatType();
 }
コード例 #3
0
        private void frmReceiptEntry_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
            labelControl13.Text = CommFun.m_sFuncName + " No";
            CommFun.SetMyGraphics();

            dateReceipt.EditValue = DateTime.Now;
            dateCheque.EditValue  = DateTime.Now;
            GetCostCentre();
            GetVoucherNo();
            FillPaymentMode();

            if (m_sMode == "E" || m_sMode == "E1")
            {
                if (ReceiptId != 0)
                {
                    FillData();
                    BsfGlobal.InsertUserUsage("Buyer-Receipt-Edit", ReceiptId, BsfGlobal.g_sCRMDBName);
                }
            }
            if (m_bView == true)
            {
                barButtonItem1.Visibility = BarItemVisibility.Never;
                barButtonItem2.Visibility = BarItemVisibility.Never;
            }
            else
            {
                barButtonItem1.Visibility = BarItemVisibility.Always;
                barButtonItem2.Visibility = BarItemVisibility.Always;
            }
        }
コード例 #4
0
        private void frmComplaintNewEntry_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName    = BsfGlobal.GetFunctionalName("Flat");
            label2.Text            = CommFun.m_sFuncName + " No";
            dtCompDate.EditValue   = DateTime.Now;
            dtAttendDate.EditValue = DateTime.Now;
            GetVoucherNo();
            GetData();
            if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
            {
                CheckPermission();
            }

            if (BsfGlobal.FindPermission("Complaint-Entry-Modify") == false)
            {
                btnSave.Enabled = false;
            }
            else
            {
                btnSave.Enabled = true;
            }
            if (BsfGlobal.FindPermission("Complaint-Entry-Add") == false)
            {
                btnSave.Enabled = false;
            }
            else
            {
                btnSave.Enabled = true;
            }
            if (m_iComplaintId != 0)
            {
                FillData();
                BsfGlobal.InsertUserUsage("Complaint-Entry-Modify", m_iComplaintId, BsfGlobal.g_sCRMDBName);
            }
        }
コード例 #5
0
 private void frmReceiptRegister_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     CommFun.SetMyGraphics();
     t_panel = panelControl1;
     if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
     {
         CheckPermission();
     }
     FillData();
 }
コード例 #6
0
ファイル: frmAvailability.cs プロジェクト: SDivyaprabha/CRM1
 private void frmAvailability_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     //if (BsfGlobal.FindPermission("Availability Chart-View") == false)
     //{
     //    MessageBox.Show("You don't have Rights to Availability Chart-View");
     //    return;
     //}
     PopulateCostCentre();
     //xtraTabPage2.PageVisible = false;
 }
コード例 #7
0
 private void frmRentReceivable_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     //if (BsfGlobal.FindPermission("Rent Receivable-View") == false)
     //{
     //    MessageBox.Show("You don't have Rights to Rent Receivable-View");
     //    return;
     //}
     CommFun.SetMyGraphics();
     FillGrid();
 }
コード例 #8
0
        private void frmServiceOrderBill_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName  = BsfGlobal.GetFunctionalName("Flat");
            lblContractor.Text   = CommFun.m_sFuncName + " No";
            dtpRefDate.EditValue = DateTime.Now;

            QualTrans = new DataTable();

            QualTrans.Columns.Add("BillRegId", typeof(int));
            QualTrans.Columns.Add("QualifierId", typeof(int));
            QualTrans.Columns.Add("Expression", typeof(string));
            QualTrans.Columns.Add("ExpPer", typeof(decimal));
            QualTrans.Columns.Add("Add_Less_Flag", typeof(string));
            QualTrans.Columns.Add("SurCharge", typeof(decimal));
            QualTrans.Columns.Add("EDCess", typeof(decimal));
            QualTrans.Columns.Add("ExpValue", typeof(decimal));
            QualTrans.Columns.Add("ExpPerValue", typeof(decimal));
            QualTrans.Columns.Add("SurValue", typeof(decimal));
            QualTrans.Columns.Add("EDValue", typeof(decimal));
            QualTrans.Columns.Add("Amount", typeof(decimal));

            GetVoucherNo();
            GetData();
            AddNewEntry();
            if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
            {
                CheckPermission();
            }

            if (BsfGlobal.FindPermission("CRM-ServiceBill-Edit") == false)
            {
                barButtonItemOk.Enabled = false;
            }
            else
            {
                barButtonItemOk.Enabled = true;
            }
            if (BsfGlobal.FindPermission("CRM-ServiceBill-Add") == false)
            {
                barButtonItemOk.Enabled = false;
            }
            else
            {
                barButtonItemOk.Enabled = true;
            }
            if (m_iRegBillId != 0)
            {
                FillData();
                BsfGlobal.InsertUserUsage("CRM-ServiceBill-Edit", m_iRegBillId, BsfGlobal.g_sCRMDBName);
            }
            ResumeLayout();
        }
コード例 #9
0
        private void frmProgress_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName    = BsfGlobal.GetFunctionalName("Flat");
            barcboFlatType.Caption = CommFun.m_sFuncName + " Type";
            m_bAns = false;
            barcboFlatType.Visibility = BarItemVisibility.Never;
            dwAbstract.Hide();
            dwDetails.Hide();

            PopulateCostCentre();
            barcboProgress.EditValue = "None";
            m_bAns = true;
        }
コード例 #10
0
ファイル: frmBuyerDetails.cs プロジェクト: SDivyaprabha/CRM1
 private void frmBuyerDetails_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     CommFun.SetMyGraphics();
     cboCheckList.EditValue = "Handing Over";
     cboType.EditValue      = "Schedule";
     PopulateFlatDetails();
     PopulatePreSaleFollowup();
     PopulatePostSaleFollowup();
     rgContact.EditValue = 1;
     PopulateContactDetails();
     PopulateBuyerInfo();
     PopulateCustomerFeedback();
 }
コード例 #11
0
        private void frmTenantReg_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
            CommFun.SetMyGraphics();
            t_panel             = panelControl1;
            dtpToDate.EditValue = DateTime.Now;

            if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
            {
                CheckPermission();
            }
            if (BsfGlobal.FindPermission("Tenant-Delete") == false)
            {
                btnDelete.Enabled = false;
            }
            else
            {
                btnDelete.Enabled = true;
            }
            FillData();
        }
コード例 #12
0
        private void frmServiceOrderBillReg_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
            t_panel             = panelControl1;
            CommFun.SetMyGraphics();
            dtpToDate.EditValue = DateTime.Now;

            if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
            {
                CheckPermission();
            }
            if (BsfGlobal.FindPermission("CRM-ServiceBill-Delete") == false)
            {
                // MessageBox.Show("No Rights to Delete the WorkOrder", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
                btnDelete.Enabled = false;
            }
            else
            {
                btnDelete.Enabled = true;
            }
            FillData();
        }
コード例 #13
0
ファイル: frmTenantEntry.cs プロジェクト: SDivyaprabha/CRM1
        private void frmTenantEntry_Load(object sender, EventArgs e)
        {
            CommFun.m_sFuncName  = BsfGlobal.GetFunctionalName("Flat");
            label15.Text         = CommFun.m_sFuncName + " No";
            bStatus              = true;
            dtCompDate.EditValue = DateTime.Now;
            GetVoucherNo();
            Getdatalist();
            if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D")
            {
                CheckPermission();
            }

            if (BsfGlobal.FindPermission("Tenant-Edit") == false)
            {
                btnSave.Enabled = false;
            }
            else
            {
                btnSave.Enabled = true;
            }
            if (BsfGlobal.FindPermission("Tenant-Add") == false)
            {
                btnSave.Enabled = false;
            }
            else
            {
                btnSave.Enabled = true;
            }

            if (m_iTenantId != 0)
            {
                FillData();
                BsfGlobal.InsertUserUsage("Tenant-Edit", m_iTenantId, BsfGlobal.g_sCRMDBName);
            }
        }
コード例 #14
0
 private void frmDemandLetter_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     PopulateAge();
 }
コード例 #15
0
 private void frmAvailabilityDetails_Load(object sender, EventArgs e)
 {
     CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat");
     PopulateGrid();
 }