Exemplo n.º 1
0
 private void StopAudio()
 {
     notifyIcon1.Visible = false;
     notifyIcon1.Dispose();
     AREntity.removeAllInstances();
     DLLitem.removeAllInstances();
     AudioReactor.removeAllInstances();
     DLLObject.removeAllInstances();
 }
Exemplo n.º 2
0
 private void entityData_QueryContinueDrag(object sender, QueryContinueDragEventArgs e)
 {
     if (e.Action == DragAction.Drop)
     {
         Console.WriteLine("Entity " + instanceID + " Drag ended");
         isDragged = false;
         DLLitem.endedDragging();
     }
 }
Exemplo n.º 3
0
 private void entityData_MouseDown(object sender, MouseEventArgs e)
 {
     Console.WriteLine("Entity " + instanceID + " mouse down");
     if (e.Button == MouseButtons.Left)
     {
         DLLitem.startedDragging();
         MouseDownLocation         = e.Location;
         entityDataDefaultLocation = entityData.Location;
         beingDragged   = this.instanceID;
         _draggedEntity = this.arEntity;
         isDragged      = true;
     }
 }
Exemplo n.º 4
0
 private void createDLLInstances(object sender, bool e)
 {
     if (e == true)
     {
         Console.WriteLine("Creating instances for selected DLLs");
         int ii = 0;
         foreach (KeyValuePair <string, string> entry in dlls_detected)
         {
             if (dlls_list[ii].Checked == true)
             {
                 dllHolder.Controls.Add(DLLitem.newInstance(entry.Key, "this is " + entry.Key, null, DLLObject.newInstance(entry.Value, entry.Key)));
             }
         }
     }
     else
     {
         Console.WriteLine("Canceled");
     }
 }
Exemplo n.º 5
0
 public static void removeInstance(ref DLLitem rf)
 {
     instances.Remove(rf);
     instancesCreated--;
     Console.WriteLine("DLLItem Instance Removed");
 }
Exemplo n.º 6
0
 private void entityData_MouseUp(object sender, MouseEventArgs e)
 {
     Console.WriteLine("Entity " + instanceID + " mouse Up");
     DLLitem.endedDragging();
 }