public TapePunchForm(Rectangle position) { InitializeComponent(); _parentWindowsPosition = position; LanguageManager.Instance.LanguageChanged += LanguageChanged; LanguageChanged(); _itelex = ItelexProtocol.Instance; _tapePunch = TapePunchManager.Instance; _tapePunch.Punched += TapePunch_Punched; _tapePunch.Changed += TapePunch_Changed; _tapePunch.SetPuncherLinesHorizontal(PunchedTapePb.Width); RecvCbSet(_tapePunch.PuncherOn); EditCb.Enabled = true; _tapePunch.EditOn = false; EditCbSet(false); //CropStartBtn.Enabled = false; //CropEndBtn.Enabled = false; TapePositionSb.SmallChange = 1; TapePositionSb.LargeChange = 1; TapePositionSb.DelayedScroll += TapePositionSb_DelayedScroll; }