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