public CreatPart() { InitializeComponent(); manager = new Data_Manager(); manager.UpdateAll(); if (manager.GetMachineName() != null) { MachineNames.DataSource = manager.GetMachineName(); } }