static void Main(string[] args) { FEM tdm = new FEM(); StreamWriter fx = new System.IO.StreamWriter("fx1.txt"); StreamWriter fy = new System.IO.StreamWriter("fy1.txt"); StreamWriter fx1 = new System.IO.StreamWriter("fx2.txt"); StreamWriter fy1 = new System.IO.StreamWriter("fy2.txt"); tdm.algoritm(50, fx, fy); fy.Close(); fx.Close(); tdm.algoritm(200, fx1, fy1); fy1.Close(); fx1.Close(); Graphics e = new Graphics(); e.ShowDialog(); e.Select(); Console.ReadKey(); }
static void Main(string[] args) { FEM tdm = new FEM(); StreamWriter fx = new System.IO.StreamWriter( "fx1.txt"); StreamWriter fy = new System.IO.StreamWriter( "fy1.txt"); StreamWriter fx1 = new System.IO.StreamWriter( "fx2.txt"); StreamWriter fy1 = new System.IO.StreamWriter( "fy2.txt"); tdm.algoritm(50, fx, fy); fy.Close(); fx.Close(); tdm.algoritm(200, fx1, fy1); fy1.Close(); fx1.Close(); Graphics e = new Graphics(); e.ShowDialog(); e.Select(); Console.ReadKey(); }