int.Parse (l.AllProduct [i]. price) * int.Parse (orKolZak.Text)). ToString ();
} y = l.AllProduct [i]. kolskl; (orNamePr.Text == l.AllProduct [i]. name + "(" + l.AllProduct [i]. clas + ")")
{(int.Parse (orKolZak.Text)> int.Parse (y))
{. Text = "";. Show ("На складі невистачає товару");
}
} (int g = 0; g
{n = 0; (orNamePr.Text == l.AllOrders [g]. nameprod)
{(int k = 0; k
{(orNamePr.Text == l.AllOrders [k]. nameprod)
{+ = (int.Parse (l.AllOrders [k]. kolzak));
}
} v = 0; (int f = 0; f
{(orNamePr.Text == (l.AllProduct [f]. name + "(" + l.AllProduct [f]. clas + ")"))
{= int.Parse (l.AllProduct [f]. kolskl) - n;
}
} (int.Parse (orKolZak.Text)> v)
{. Show ("Недостатньо товару на складі");;
}
}
};
}
} void Famil_TextChanged (object sender, EventArgs e)
{. Text = System.Text.RegularExpressions.Regex.Replace (Famil.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex. Replace (Imya.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex.Replace (Otche.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex.Replace (Dolg.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex.Replace (textBox1.Text, @ " d "," ");. Text = System.Text.RegularExpressions.Regex.Replace (textBox2.Text, @" d "," ");. Text = System.Text.RegularExpressions.Regex. Replace (textBox3.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex.Replace (textBox4.Text, @ " d", "");. Text = System.Text.RegularExpressions.Regex.Replace (prName.Text, @ " d", "");
} void Telef_KeyPress (object sender, KeyPressEventArgs e)
{r = new Regex ("[0-9 b]"); m = r.Match (e.KeyChar.ToString ()); (! m.Success) e. KeyChar = ' 0';
} void dataProduct_CellContentClick (object sender, DataGridViewCellEventArgs e)
{ff = new Form2 (); g = 0; (int i = 0; i
{(e.ColumnIndex == 5 && e.RowIndex == i)
{s = l.AllProduct [i]. name + "(" + l.AllProduct [i]. clas + ")"; (int p = 0; p < l.AllOrders.Count; p + +)
{s1 = l.AllOrders [p]. nameprod; (s == s1)
{. Text = l.AllOrders [p]. nameprod;. dataGridView1.Rows.Add ();. dataGridView1 [0, g]. Value = l.AllOrders [p]. namecl; ( int j = 0; j ...