public DailyAnnadanam() { this.MaximizeBox = false; dailyAnnaRepo = new DailyAnnaDanamRepository(); gothramRepo = new GothramsRepository(); InitializeComponent(); }
public DailyAnnadanam(string PrinterName, bool ShowPrintPreview) { this.MaximizeBox = false; dailyAnnaRepo = new DailyAnnaDanamRepository(); gothramRepo = new GothramsRepository(); serviceTypeRepo = new ServiceTypeRepository(); oPrintHelper = new PrintHelper(); lstTokenPrint = new List <TokenPrint>(); _PrinterName = PrinterName; _ShowPrintPreview = ShowPrintPreview; InitializeComponent(); }
public DailyAnnadanam(string PrinterName,bool ShowPrintPreview) { this.MaximizeBox = false; dailyAnnaRepo = new DailyAnnaDanamRepository(); gothramRepo = new GothramsRepository(); serviceTypeRepo = new ServiceTypeRepository(); oPrintHelper = new PrintHelper(); lstTokenPrint = new List<TokenPrint>(); _PrinterName = PrinterName; _ShowPrintPreview = ShowPrintPreview; InitializeComponent(); }
public DonationInformation() { //dtpDate.MinDate = DateTime.Now; this.MaximizeBox = false; InitializeComponent(); dtpEnglishDateType.Format = DateTimePickerFormat.Custom; dtpEnglishDateType.CustomFormat = "dd/MM"; donorRepo = new DonorRepository(); datetypeRepo = new DateTypeRepository(); desigRepo = new DesignationRepository(); employeeRepo = new EmployeeRepository(); prefixRepo = new PrefixesRepository(); roleRepo = new RoleRepository(); serviceNameRepo = new ServiceNameRepository(); serviceTypeRepo = new ServiceTypeRepository(); specialDayRepo = new SpecialDayRepository(); starRepo = new StarsRepository(); monthsRepo = new MonthsRepository(); pakshaRepo = new PakshaRepository(); thithiRepo = new ThidhiRepository(); monthlyAnnaRepo = new MonthlyAnnaRepository(); gothramRepo = new GothramsRepository(); transTypeRepo = new TransactionTypeRepository(); lstTokenPrint = new List<TokenPrint>(); stateRepo = new StateRepository(); lstStates = new List<State>(); prefixesRepo = new PrefixesRepository(); bindData(); btnUpdate.Visible = false; btnCancel.Visible = false; lblSpecialDay.Visible = false; cmbSpecialDay.Visible = false; lblMonth.Visible = false; cmbMonth.Visible = false; lblThithi.Visible = false; cmbThithi.Visible = false; lblMonthlyAnna.Visible = false; cmbMonthlyAnna.Visible = false; lblEnglishDatetype.Visible = false; dtpEnglishDateType.Visible = false; rbdEnglish.Checked = false; rbdTelugu.Checked = false; lblMonthyAnnaThithi.Visible = false; cmbMonthyAnnaThithi.Visible = false; }