Beispiel #1
0
 private void FrmProject_FormClosing(object sender, FormClosingEventArgs e)
 {
     DockPanel = null;
     timerUpdate.Stop();
     timerUpdate.Dispose();
     timerUpdate = null;
 }
 private void FrmShader_FormClosing(object sender, FormClosingEventArgs e)
 {
     timerAutoCompile.Stop();
     timerAutoCompile.Dispose();
     timerAutoCompile        = null;
     panelMain.ProjectObject = null;
     ProjectDef.AllForms.Remove(this);
 }
 private void FrmProjectObject_HandleDestroyed(object sender, EventArgs e)
 {
     if (timerUpdate != null)
     {
         timerUpdate.Stop();
         timerUpdate.Dispose();
         timerUpdate = null;
     }
 }
Beispiel #4
0
 private void FrmProgram_FormClosing(object sender, FormClosingEventArgs e)
 {
     DockPanel = null;
     timerAutoLink.Stop();
     timerAutoLink.Dispose();
     timerAutoLink           = null;
     panelMain.ProjectObject = null;
     ProjectDef.AllForms.Remove(this);
 }
Beispiel #5
0
 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);
 }