public FindUI(Form owner, BindingSource <Pattern> history) : base(owner, EPin.TopRight, new Point(-270, +28), Size.Empty, false) { InitializeComponent(); HideOnClose = true; History = history; Pattern = new Pattern(); RegexHelpUI = PatternUI.CreateRegexHelpUI(Owner); SetupUI(); UpdateUI(); }
void Awake() { Instance = this; }