private void frmCallReport_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); deFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo.EditValue = Convert.ToDateTime(DateTime.Now); bool bAns = CallSheetEntryBL.GetOtherExecCall(); if (bAns == true) { ChkExec.Visibility = BarItemVisibility.Always; } else { ChkExec.Visibility = BarItemVisibility.Never; } if (m_sType == "Pre") { FillOtherExecreg(); } else { FillOtherExecregPost(); } }
private void frmInterest_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); dEAsOnDate.EditValue = Convert.ToDateTime(DateTime.Now); //if (radioGroup1.SelectedIndex == 0) // m_sType = "PB"; //else m_sType = "PS"; //radioGroup1.SelectedIndex = 1; if (m_sMode == "I") { barStaticItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Always; dEAsOnDate.Visibility = DevExpress.XtraBars.BarItemVisibility.Always; panelControl1.Visible = true; this.Text = "Interest Calculation"; FillData(); } else { barStaticItem1.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; dEAsOnDate.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; panelControl1.Visible = false; radioGroup1.Visible = false; this.Text = "Statement Of Account"; FillSOAData(); } }
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 frmFollowUpReg_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); t_panel = panelControl1; if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } bool bAns = CallSheetEntryBL.GetOtherExecCall(); if (bAns == true) { ChkExec.Visibility = BarItemVisibility.Always; } else { ChkExec.Visibility = BarItemVisibility.Never; } deFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo.EditValue = Convert.ToDateTime(DateTime.Now); FillExec(); }
private void frmStmtAcc_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); this.Location = new Point(180, 150); cboSOA.EditValue = "Schedule"; FillData(); }
private void frmCashRegister_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); deFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo.EditValue = Convert.ToDateTime(DateTime.Now); FillCashReg(); }
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 frmCompAnalaysis_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); CommFun.m_sFuncName = BsfGlobal.GetFunctionalName("Flat"); barStaticItem2.Caption = CommFun.m_sFuncName + " Type"; PopulateCostCentre(); }
private void FrmLeadRegister_Load(object sender, EventArgs e) { dEFrm.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); dETo.EditValue = Convert.ToDateTime(DateTime.Now); CommFun.SetMyGraphics(); //FillLeadGrid(); PopulateData(); }
private void frmQualifier_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); GetPBAccountSetup(); PopulateIncomeAcct(); PopulateBuyerAcct(); PopulateAdvanceAcct(); PopulateGrid(); }
private void frmBank_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } FillGrid(); }
private void frmStageReg_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } PopulatProject(); }
private void frmFollowupMaster_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } GetCallType(); }
private void frmControlPanel_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } PopulateGrid(); }
private void frmChequeList_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } cboTypeName.EditValue = "None"; }
private void frmClient_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); m_sCCTransId = CommFun.GetCCTrans(); b_FormLoad = true; PopulateCostCentre(); b_FormLoad = false; PopulateProsAndBuyer(); FormClosed += frmClient_FormClosed; }
private void frmBrokerPayable_Load(object sender, EventArgs e) { //if (BsfGlobal.FindPermission("Payable to Broker-View") == false) //{ // MessageBox.Show("You don't have Rights to Payable to Broker-View"); // return; //} CommFun.SetMyGraphics(); FillGrid(); }
private void frmStageDetails_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); FillBlock(); FillStages(); FillLevel(); FillLevelBlock(); FillStageBlock(); FillStageLevel(); }
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 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 frmExecTargetReg_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } deFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo.EditValue = Convert.ToDateTime(DateTime.Now); PopulateTargetReg(); }
private void frmCarParkDescription_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); txtSlots.EditValue = iSlots; if (iSlots > 0) { txtSlots.Enabled = false; simpleButton1.Enabled = false; } FillCarPark(); }
private void frmExtraBillReg_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } t_panel = panelControl1; dtpFrmDate.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); dtpToDate.EditValue = Convert.ToDateTime(DateTime.Now); PopulateData(); }
private void frmProjReceivable_Load(object sender, EventArgs e) { //if (BsfGlobal.FindPermission("ProjwiseReceivable-View") == false) //{ // MessageBox.Show("You don't have Rights to ProjwiseReceivable-View"); // return; //} CommFun.SetMyGraphics(); //SetMyGraphics(); dxDate.EditValue = Convert.ToDateTime(DateTime.Today); dtAson = Convert.ToDateTime(dxDate.EditValue.ToString()); Fill_Project_Receivable(); }
private void frmTargetRegister_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (BsfGlobal.g_sUnPermissionMode == "H" || BsfGlobal.g_sUnPermissionMode == "D") { CheckPermission(); } t_panel = panelTargetReg; deTo.EditValue = Convert.ToDateTime(DateTime.Now.ToShortDateString()); barTargetReg.Visible = true; PopulateTargetReg(); FormClosed += new FormClosedEventHandler(frmTargetRegister_FormClosed); }
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 frmBrokerDet_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); PopulateBroker(); FillData(); FillCC(); if (m_iBrokerId == 0) { cboBroker.Enabled = true; } else { cboBroker.Enabled = false; } }
private void frmBankEntry_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); if (sType == "E") { DataTable dt = new DataTable(); dt = BankBL.getEditBank(iBankId); if (dt.Rows.Count > 0) { txtBankName.EditValue = dt.Rows[0]["BankName"].ToString(); txtIntRate.EditValue = Convert.ToDecimal(dt.Rows[0]["InterestRate"]); txtLAmt.EditValue = Convert.ToDecimal(dt.Rows[0]["LoanAmount"]); txtPDays.EditValue = dt.Rows[0]["ProcessingDays"].ToString(); } } }
private void frmEmail_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); deFrom = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); deTo = Convert.ToDateTime(DateTime.Now); cboBuyerType.EditValue = "All"; m_sType = "All"; PopulateExecutive(); PopulateProject(); PopulateBuyer(); //dEFrom.EditValue = Convert.ToDateTime(DateTime.Now.AddMonths(-1)); //dETo.EditValue = Convert.ToDateTime(DateTime.Now); //Location = new Point(150, 150); //FillMaster(); //FillData(); }
private void frmFollowUp_Load(object sender, EventArgs e) { CommFun.SetMyGraphics(); dECallDate.Enabled = false; txtRemarks.Enabled = false; dEDate.EditValue = DateTime.Now; dECallDate.EditValue = DateTime.Now; FillCall(); PopulateProject(); PopulateCallType(); PopulateNature(); PopulateLead(); PopulateFlat(); if (m_sType == "E") { PopulateEditData(); } }