Ejemplo n.º 1
0
 public Form1()
 {
     calculation = new DiffusiveGelling();
     //calculation = new ClassicalAnalyticMoulding();
     InitializeComponent();
     CreateMenuStrips();
     UpdateView();
 }
Ejemplo n.º 2
0
 private void menuStrip_ItemClicked(object sender, EventArgs e)
 {
     var strip = sender as ToolStripMenuItem;
     calculation = menuBindings[strip].GetConstructors().First().Invoke(new object[] { }) as Calculation;
     UpdateView();
 }