; i + +)
{. Rows.Add (); [0, i]. Value = l.AllWork [i]. famil; [1, i]. Value = l.AllWork [i]. name; [2, i]. Value = l.AllWork [i]. otche; [3, i]. Value = l.AllWork [i]. dolgn; [4, i]. Value = l.AllWork [i]. telef ; [5, i]. Value = l.AllWork [i]. Zarplata;
}
} void сохранітьToolStripMenuItem_Click (object sender, EventArgs e)
{(saveFileDialog1.ShowDialog () == DialogResult.OK)
{
{. Save (l, saveFileDialog1.FileName);. Show ("Файл збережений");
} (UnauthorizedAccessException)
{. Show ("Неможливо зберегти файл: доступ закритий");
}
}
} void откритьToolStripMenuItem_Click (object sender, EventArgs e)
{((openFileDialog1.ShowDialog () == DialogResult.OK))
{
{= SaveOpen.LoadXML (openFileDialog1.FileName, l); = openFileDialog1.FileName;
} (InvalidOperationException)
{. Show ("Неможливо прочитати дані з цього XML-файла");
}
} s = openFileDialog1.FileName;
} void показатьToolStripMenuItem_Click (object sender, EventArgs e)
{s = (l.AllClient [i]. famil + "" + l.AllClient [i]. name + "" + l.AllClient [i]. otche); . Items.Add (s);
} (int i = 0; i
{s = (l.AllProduct [i]. name + "(" + l.AllProduct [i]. clas + ")");. Items.Add (s) ;
} (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllWork [i]. famil; [1, i]. Value = l.AllWork [i]. name; [2, i]. Value = l.AllWork [i]. otche; [3, i]. Value = l.AllWork [i]. dolgn; [4, i]. Value = l.AllWork [i]. telef ; [5, i]. Value = l.AllWork [i]. Zarplata;
} (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllClient [i]. famil; [1, i]. Value = l.AllClient [i]. name; [2, i]. Value = l.AllClient [i]. otche; [3, i]. Value = l.AllClient [i]. dolgn; [4, i]. Value = l.AllClient [i]. telef ; [5, i]. Value = l.AllClient [i]. predrp; [6, i]. Value = l.AllClient [i]. adress;
} (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllProduct [i]. name; [1, i]. Value = l.AllProduct [i]. clas; [2, i]. Value = l.AllProduct [i]. kolproiz; [3, i]. Value = l.AllProduct [i]. kolskl; [4, i]. Value = l.AllProduct [i]. price ;
} (int i = 0; i
{. Rows.Add (); [0, i]. Value = l.AllOrders [i]. namecl; [1, i]. Value = l.AllOrders [i]. nameprod; [2, i]. ...