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