private void frmCompAnalaysis_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat"); barStaticItem2.Caption = CommFun.m_sFuncName + " Type"; PopulateCostCentre(); }
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(); }
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; } }
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); } }
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(); }
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; }
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(); }
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(); }
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; }
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(); }
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(); }
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(); }
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); } }
private void frmDemandLetter_Load(object sender, EventArgs e) { CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat"); PopulateAge(); }
private void frmAvailabilityDetails_Load(object sender, EventArgs e) { CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat"); PopulateGrid(); }