예제 #1
0
파일: FormEdit.cs 프로젝트: N90K/TNBase
        public FormEdit()
        {
            InitializeComponent();

            comboTitle.Items.AddRange(ListenerTitles.getAllTitles().ToArray());

            // Restrict input to month and day
            birthdayDate.MinDate      = new DateTime(DateTime.UtcNow.Year, 01, 01);
            birthdayDate.MaxDate      = new DateTime(DateTime.UtcNow.Year, 12, 31);
            birthdayDate.Format       = DateTimePickerFormat.Custom;
            birthdayDate.CustomFormat = "dd MMMM";
        }
예제 #2
0
 private void formAddMini_Load(object sender, EventArgs e)
 {
     comboTitle.Items.AddRange(ListenerTitles.getAllTitles().ToArray());
 }