static void Main()
 {
     ProgramContext context = new ProgramContext(new MainForm());
     Application.EnableVisualStyles();
     Application.Run(context);
 }
 public void SetContext(ProgramContext context)
 {
     this.context = context;
 }