private void ShowHudForm(string fullPath) { if (!_huds.ContainsKey(fullPath)) { var hudForm = new HudForm(fullPath); hudForm.Show(); _huds.Add(fullPath, hudForm); } else { _huds[fullPath].FillHud(); _huds[fullPath].Show(); } }
private void ShowHudForm(string fullPath) { if (!_huds.ContainsKey(fullPath)) { var hudForm = new HudForm(fullPath); hudForm.Show(); _huds.Add(fullPath, hudForm); } else { _huds[fullPath].FillHud(); _huds[fullPath].Show(); } }