private void FrmShader_FormClosing(object sender, FormClosingEventArgs e)
 {
     timerAutoCompile.Stop();
     timerAutoCompile.Dispose();
     timerAutoCompile        = null;
     panelMain.ProjectObject = null;
     ProjectDef.AllForms.Remove(this);
 }
Exemplo n.º 2
0
 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;
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }