I created application in C# windows forms and there is notificationForm which shows after time, but it's completely empty without my label and picture. If I show this notificationForm manually everything works perfect.
private static void OnTimedEventZak(Object source, System.Timers.ElapsedEventArgs e)
{
Mydb context = new Mydb ();
var getReservation = context.column.Where(i => i.column_id== idForMethods).FirstOrDefault();
if (getReservation.Status_id == 2)
{
Notification p = new Notification(getReservation.column_id,false);
p.Show();
}
}
It renders like this: