Exemple #1
0
 private void StopAudio()
 {
     notifyIcon1.Visible = false;
     notifyIcon1.Dispose();
     AREntity.removeAllInstances();
     DLLitem.removeAllInstances();
     AudioReactor.removeAllInstances();
     DLLObject.removeAllInstances();
 }
Exemple #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();
     }
 }
Exemple #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;
     }
 }
Exemple #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");
     }
 }
Exemple #5
0
 public static void removeInstance(ref DLLitem rf)
 {
     instances.Remove(rf);
     instancesCreated--;
     Console.WriteLine("DLLItem Instance Removed");
 }
Exemple #6
0
 private void entityData_MouseUp(object sender, MouseEventArgs e)
 {
     Console.WriteLine("Entity " + instanceID + " mouse Up");
     DLLitem.endedDragging();
 }