var Read5 = s.Split(Separator, StringSplitOptions.RemoveEmptyEntries); a = UInt32.TryParse(Read5[0], out MN[i].i); b = UInt32.TryParse(Read5[1], out MN[i].j); c = UInt32.TryParse(Read5[2], out MN[i].k); //list.Items.Add(String.Format((i + 1) + "\t" + MN[i].i + "\t" + MN[i].j + "\t" + MN[i].k)); if (!(a && b && c)) { // MessageBox.Show(String.Format("{0} satrda son emas !", i + 2), "Xatolik", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return false; }
for (int i = 0; i < n; i++) { s = reader.ReadLine(); if (s.Replace(".", ",") != null) s = s.Replace(".", ","); var Read2 = s.Split(Separator, StringSplitOptions.RemoveEmptyEntries); a = Double.TryParse(Read2[0], out MK[i].y); b = Double.TryParse(Read2[1], out MK[i].x); MK[i].T = T;
if (!(a && b)) { MessageBox.Show(String.Format("{0} satrda son emas !", i + 4 + m), "Xatolik", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return false; } DMK[0, i].Value = i + 1; DMK[1, i].Value = MK[i].x; DMK[2, i].Value = MK[i].y; DMK[3, i].Value = MK[i].T; } //************** mahkamlangan nuqtalar***************** Int32 k, dk, ss; double uk; s = reader.ReadLine(); if (s.Replace(".", ",") != null) s = s.Replace(".", ","); var Read1 = s.Split(Separator, StringSplitOptions.RemoveEmptyEntries); a = int.TryParse(Read1[0], out dk); // listBox1.Items.Add("**************************************");