public FormMain() { InitializeComponent(); titlePrefix = Text += " (" + rev + ")"; setWindowTitleSuffix(" Zoom: 100%"); // Default PaZ button = Right. panAndZoom = new PanAndZoomSupport(pictureBoxMain, Resources.InitialImage, setWindowTitleSuffix) { Button = MouseButtons.Right }; panAndZoom.UpdateZoomToMiddle(); // Modules registry => combo-box. foreach (string key in ModuleRegistry.RegisteredModuleNames()) { comboBoxModule.Items.Add(key); } comboBoxModule.SelectedIndex = 0; }