Example #1
0
 public FormFirstEntry(FormDashboard formDashboard)
 {
     this.formDashboard = formDashboard;
     InitializeComponent();
     Error_TextBox.Hide();
     setTimePickers(LunceTime_TimePicker);
     setTimePickers(DinnerTime_TimePicker);
     setTimePickers(FriendlyTime_TimePicker);
 }
Example #2
0
        public FormNotification(FormDashboard formDashboard, string message, AppSetting.eQuery query)
        {
            InitializeComponent();
            this.formDashboard        = formDashboard;
            Notification_TextBox.Text = message;
            this.query = query;

            tmr       = new System.Windows.Forms.Timer();
            tmr.Tick += delegate
            {
                this.Close();
            };
            tmr.Interval = (int)TimeSpan.FromMinutes(1).TotalMilliseconds;
            tmr.Start();
        }