public static void removeInstance(AREntity rf) { AudioReactor.removeInstance(rf.arEntity); instances.Remove(rf); instancesCreated--; Console.WriteLine("AREntity Instance Removed"); }
private void StopAudio() { notifyIcon1.Visible = false; notifyIcon1.Dispose(); AREntity.removeAllInstances(); DLLitem.removeAllInstances(); AudioReactor.removeAllInstances(); DLLObject.removeAllInstances(); }
public static void removeFromEntityContainer(AREntity a) { entityHolderReference.Controls.Remove(a); }
private void newInstanceToolStripMenu1_Click(object sender, EventArgs e) { //create instance //create arentity entityHolder.Controls.Add(AREntity.newInstance((AudioReactor.newInstance()))); }
private void toolStripMenuItem1_Click(object sender, EventArgs e) { ARUForm.removeFromEntityContainer(this); AREntity.removeInstance(this); }