usingを使いフォームを開く
private void AddComputer() { string newComputerName; using (ComputerIn newComputer = new ComputerIn()) { newComputer.ShowDialog(); newComputerName = newComputer.results; } }
private void AddComputer() { string newComputerName; using (ComputerIn newComputer = new ComputerIn()) { newComputer.ShowDialog(); newComputerName = newComputer.results; } }