static void Main() { AllTasks tasks = new AllTasks(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Form2 form2 = new Form2(); form2.Show(); form2.Hide(); Application.Run(new Form1()); }
public Form2(AllTasks tasks_) { tasks_ = tasks; InitializeComponent(); this.label2.Text = "Przewidywany termin\n zakończenia zadania:"; }