예제 #1
0
        private void AutoPlanner_Btn_Click(object sender, EventArgs e)
        {
            Planning.AutoPlanning(8);
            InternalApp.SetBikeList();
            DateTime actualTime = DateTime.Now;

            UpdateFormDate(actualTime);
            autoplanner_label.Text    = "Successfull";
            autoplanner_label.Visible = true;
        }
예제 #2
0
        private void validate_button_Click(object sender, EventArgs e)
        {
            InternalApp.bikeList.Clear();
            InternalApp.SetBikeList();

            //this.Hide();
            //var fitterForm = new FitterForm();

            stateBike.Clear();
            this.Controls.Clear();
            InitializeComponent();
            FitterFormCharge();

            //fitterForm.ShowDialog();
            //this.Close();
            ShowDayPlanning(fitterPanel);
        }
예제 #3
0
        private void FitterForm_Load(object sender, EventArgs e)
        {
            DateTime date = DateTime.Now;

            if (date.DayOfWeek == DayOfWeek.Saturday)
            {
                date = date.AddDays(2);
            }
            if (date.DayOfWeek == DayOfWeek.Sunday)
            {
                date = date.AddDays(1);
            }
            InternalApp.bikeList.Clear();
            InternalApp.SetBikeList();
            this.dateOfToday_label.Text = date.ToString("D", CultureInfo.CreateSpecificCulture("en-US"));
            ShowDayPlanning(fitterPanel);
        }
예제 #4
0
 private void Back_Click(object sender, EventArgs e)
 {
     InternalApp.bikeList.Clear();
     InternalApp.SetBikeList();
     this.Close();
 }