protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, functionObject.SavedWindowXLoc, functionObject.SavedWindowYLoc, functionObject.SavedWindowWidth, functionObject.SavedWindowHeight); base.OnShown(e); textBoxFunctionBody.SetInsertionPoint(0, 0); textBoxFunctionBody.Focus(); }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, algoSampObject.SavedWindowXLoc, algoSampObject.SavedWindowYLoc, algoSampObject.SavedWindowWidth, algoSampObject.SavedWindowHeight); base.OnShown(e); textBoxFormula.SetInsertionPoint(0, 0); textBoxFormula.Focus(); }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, scoreEffectsObject.SavedWindowXLoc, scoreEffectsObject.SavedWindowYLoc, scoreEffectsObject.SavedWindowWidth, scoreEffectsObject.SavedWindowHeight); base.OnShown(e); textBoxScoreEffectsText.SetInsertionPoint(0, 0); textBoxScoreEffectsText.Focus(); }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, trackObject.SavedWindowXLoc, trackObject.SavedWindowYLoc, trackObject.SavedWindowWidth, trackObject.SavedWindowHeight); base.OnShown(e); // deferred until OnShown because that's when trackViewControl.Height is finally valid trackEditControl.SetDefaultScrollPosition(); trackEditControl.FocusToView(); }
private void ResizeMove() { if (Visible) { short x, y, width, height; PersistWindowRect.OnResize(this, out x, out y, out width, out height); waveTableObject.SavedWindowXLoc = x; waveTableObject.SavedWindowYLoc = y; waveTableObject.SavedWindowWidth = width; waveTableObject.SavedWindowHeight = height; } }
private void ResizeMove() { if (Visible) { short x, y, width, height; PersistWindowRect.OnResize(this, out x, out y, out width, out height); savedX = x; savedY = y; savedWidth = width; savedHeight = height; } }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, waveTableObject.SavedWindowXLoc, waveTableObject.SavedWindowYLoc, waveTableObject.SavedWindowWidth, waveTableObject.SavedWindowHeight); base.OnShown(e); }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, savedX, savedY, savedWidth, savedHeight); base.OnShown(e); }
protected override void OnShown(EventArgs e) { PersistWindowRect.OnShown(this, section.SavedWindowXLoc, section.SavedWindowYLoc, section.SavedWindowWidth, section.SavedWindowHeight); base.OnShown(e); }