double [] doubleArray = new double[stringArray.Length]
for(int i=0; i<stringArray.Length; i++)
{
doubleArray[i] = Double.Parse(stringArray[i]);
}
double[] doubleArray = stringArray.Select<string, double>(s => Double.Parse(s)).ToArray<double>();
private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
notifyIcon1.Visible = false;
notifyIcon1.Dispose();
}
req.AddParam("act", "getLinksList").AddParam("params", Html.ReplaceEntities(testparam));
public СотрудникиФорма()
{
InitializeComponent();
_context = new Database21SQLEntities();
_context.Сотрудники.Load();
var employeeList = (from employee in _context.Сотрудники
join rank in _context.Звания on employee.Звание equals rank.Код
join department in _context.Подразделения on employee.Подразделение equals department.Код
select new
{
employee.Имя,
employee.Фамилия,
employee.Отчество,
employee.Объем_груди,
employee.Рост,
employee.Пол,
rank.Звание,
department.Подразделение
}).ToList();
сотрудникиBindingSource.DataSource = employeeList;
}