예제 #1
0
 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();
 }
예제 #2
0
 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();
 }
예제 #3
0
 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();
 }
예제 #4
0
        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();
        }
예제 #5
0
 protected override void OnShown(EventArgs e)
 {
     PersistWindowRect.OnShown(this, waveTableObject.SavedWindowXLoc, waveTableObject.SavedWindowYLoc, waveTableObject.SavedWindowWidth, waveTableObject.SavedWindowHeight);
     base.OnShown(e);
 }
예제 #6
0
 protected override void OnShown(EventArgs e)
 {
     PersistWindowRect.OnShown(this, savedX, savedY, savedWidth, savedHeight);
     base.OnShown(e);
 }
예제 #7
0
 protected override void OnShown(EventArgs e)
 {
     PersistWindowRect.OnShown(this, section.SavedWindowXLoc, section.SavedWindowYLoc, section.SavedWindowWidth, section.SavedWindowHeight);
     base.OnShown(e);
 }