private void ViewInterpolation() { InterpolationForm f = MainForm.Instance.InterpolationForm; InterpolationEditor e = f?._interpolationEditor; e?.SetTarget(_resource as IKeyframeSource); }
private void ViewInterp() { InterpolationForm f = MainForm.Instance.InterpolationForm; if (f != null) { InterpolationEditor e = f._interpolationEditor; if (e != null) { e.SetTarget(_resource as IKeyframeSource); } } }
void TabPage3() { form3 = new InterpolationForm(); UploadFromForm(form3, 3); tabControl.TabPages[3].LostFocus += (sender, ev) => { Interpolation.eventSlimCheck.Reset(); Interpolation.eventSlimMain.Reset(); }; tabControl.TabPages[3].Enter += (sender, e) => { Size = new Size(912, 736); }; }
void _interpolationForm_FormClosed(object sender, FormClosedEventArgs e) { _interpolationForm = null; }
//插值分析 private void picBox_interpolation_Click(object sender, EventArgs e) { InterpolationForm interpolationForm = new InterpolationForm(); interpolationForm.Show(); }