private void StopAudio() { notifyIcon1.Visible = false; notifyIcon1.Dispose(); AREntity.removeAllInstances(); DLLitem.removeAllInstances(); AudioReactor.removeAllInstances(); DLLObject.removeAllInstances(); }
private void entityData_QueryContinueDrag(object sender, QueryContinueDragEventArgs e) { if (e.Action == DragAction.Drop) { Console.WriteLine("Entity " + instanceID + " Drag ended"); isDragged = false; DLLitem.endedDragging(); } }
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; } }
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"); } }
public static void removeInstance(ref DLLitem rf) { instances.Remove(rf); instancesCreated--; Console.WriteLine("DLLItem Instance Removed"); }
private void entityData_MouseUp(object sender, MouseEventArgs e) { Console.WriteLine("Entity " + instanceID + " mouse Up"); DLLitem.endedDragging(); }