public MainWindow() { InitializeComponent(); p1 = new Page1(this); p2 = new Page2(this); p3 = new Page3(this); p4 = new Page4(this); p5 = new Page5(this); p6 = new Page6(this); db = new DB(); p1.LoadPage(); ReadCSVdata(AppDomain.CurrentDomain.BaseDirectory + "DB"); }
public void newPj() { p3 = new Page3(this); p4 = new Page4(this); p5 = new Page5(this); db = new DB(); p3.LoadPage(); for (int i = 0; i < 5; i++) { p5.tabMinus1(); p5.tabMinus2(); } }