private void FrmShader_FormClosing(object sender, FormClosingEventArgs e) { timerAutoCompile.Stop(); timerAutoCompile.Dispose(); timerAutoCompile = null; panelMain.ProjectObject = null; ProjectDef.AllForms.Remove(this); }
private void FrmProject_FormClosing(object sender, FormClosingEventArgs e) { DockPanel = null; timerUpdate.Stop(); timerUpdate.Dispose(); timerUpdate = null; }
private void FrmProjectObject_HandleDestroyed(object sender, EventArgs e) { if (timerUpdate != null) { timerUpdate.Stop(); timerUpdate.Dispose(); timerUpdate = null; } }
private void FrmProgram_FormClosing(object sender, FormClosingEventArgs e) { DockPanel = null; timerAutoLink.Stop(); timerAutoLink.Dispose(); timerAutoLink = null; panelMain.ProjectObject = null; ProjectDef.AllForms.Remove(this); }
private void frmRenderConfigure_FormClosing(object sender, FormClosingEventArgs e) { UnloadDocking(); UnloadConsole(); DockPanel = null; timerUpdateUniformDataGrid.Stop(); timerUpdateUniformDataGrid.Dispose(); timerUpdateUniformDataGrid = null; timerUpdateLists.Stop(); timerUpdateLists.Dispose(); timerUpdateLists = null; AllForms.Remove(this); ProjectDef.AllForms.Remove(this); }