// DataGridView dgK, dgT, dgX;
Boolean a, b, c;//, D, D1;
ListBox list;
PictureBox PicBox;
Graphics graphics;
DataGridView DMN, DMK;
Char[] Separator = { '\t', '\r', '\n', ' ' };
TextBox text1, text2;
String s;
ListBox listBox1 = new ListBox();
public Osisimmetrik(ListBox list)
{
this.listBox1 = list;
}
public Osisimmetrik(DataGridView dMK, DataGridView dMN, PictureBox p, ListBox list)
{
this.listBox1 = list;
DMN = dMN;
DMK = dMK;
PicBox = p;
}
public void Qiymatlar(Double E, Double myu, Double t, Double T, Double alfa, Double px,Double py)
{
this.E = E;
this.myu = myu;
this.t = t;
this.alfa = alfa;
this.T = T;
Px = px;
Py = py;
}
public Osisimmetrik(ListBox list, PictureBox p, TextBox tb1, TextBox tb2)
{
this.listBox1 = list;
this.PicBox = p;
this.text1 = tb1;
this.text2 = tb2;
}
public Boolean FileRead(String strim,out int n1, out int m1)
{
n1 = 0; m1 = 0;
String s;
// StreamReader reader = new StreamReader("D:\\issiqlik.txt"); MKE termo lestika strinm
StreamReader reader = new StreamReader(strim);
// StreamReader reader = new StreamReader("D:\\_Doktarantura\\Misollar\\Temo Elastika\\MKE termo lestika 3.txt");
try
{
s = reader.ReadLine();
var Read = s.Split(Separator, StringSplitOptions.RemoveEmptyEntries);
a = Int32.TryParse(Read[0], out n);
Dostları ilə paylaş: |