Exemplo n.º 1
0
    private void InitCalendars()
    {
        calWeekDate = new Utils.Calendar("WeekDate", ref txtWeekDate);
        calWeekDate.ImageButton(imgWeekDate);

        calMonthDate = new Utils.Calendar("MonthDate", ref txtMonthDate);
        calMonthDate.ImageButton(imgMonthDate);

        calBegDateRange = new Utils.Calendar("BegDateRange", ref txtBegDateRange);
        calBegDateRange.ImageButton(imgBegDateRange);

        calEndDateRange = new Utils.Calendar("EndDateRange", ref txtEndDateRange);
        calEndDateRange.ImageButton(imgEndDateRange);
    }
Exemplo n.º 2
0
    private void InitCalendars()
    {
        calDayDate = new Utils.Calendar("DayDate", ref txtDayDate);
        calDayDate.ImageButton(imgDayDate);

        calWeekDate = new Utils.Calendar("WeekDate", ref txtWeekDate);
        calWeekDate.ImageButton(imgWeekDate);

        calMonthDate = new Utils.Calendar("MonthDate", ref txtMonthDate);
        calMonthDate.ImageButton(imgMonthDate);
        calMonthDate.HideControlsList = "ddlCustomerDate";

        calBegDateRange = new Utils.Calendar("BegDateRange", ref txtBegDateRange);
        calBegDateRange.ImageButton(imgBegDateRange);
        calBegDateRange.HideControlsList = "ddlCustomerDate, ddlCopies";

        calEndDateRange = new Utils.Calendar("EndDateRange", ref txtEndDateRange);
        calEndDateRange.ImageButton(imgEndDateRange);
        calEndDateRange.HideControlsList = "ddlCustomerDate";
    }