Exemplo n.º 1
0
        private void TimerTickLookForGrimDawn(object sender, EventArgs e)
        {
            System.Windows.Forms.Timer timer = sender as System.Windows.Forms.Timer;
            if (Thread.CurrentThread.Name == null)
            {
                Thread.CurrentThread.Name = "DetectGrimDawnTimer";
            }

            string gdPath = GrimDawnDetector.GetGrimLocation();

            if (!string.IsNullOrEmpty(gdPath) && Directory.Exists(gdPath))
            {
                timer?.Stop();

                // Attempt to force a database update
                foreach (Control c in modsPanel.Controls)
                {
                    ModsDatabaseConfig config = c as ModsDatabaseConfig;
                    if (config != null)
                    {
                        config.ForceDatabaseUpdate(gdPath, string.Empty);
                        break;
                    }
                }

                Logger.InfoFormat("Found Grim Dawn at {0}", gdPath);
            }
        }
Exemplo n.º 2
0
        private void stopClicked_Click(object sender, EventArgs e)
        {
            System.Windows.Forms.Timer myTimer = new System.Windows.Forms.Timer();

            myTimer.Stop();

            Application.Exit();
        }
Exemplo n.º 3
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            recordFunction();                                                //start the record function

            System.Windows.Forms.Timer t = new System.Windows.Forms.Timer(); //create a timer
            t.Interval = 60000;                                              // specify interval time as you want
            t.Tick    += new EventHandler(timer_Tick);                       //
            t.Start();                                                       //start the timer
        }
Exemplo n.º 4
0
        public Form1()
        {
            InitializeComponent();

            t          = new System.Windows.Forms.Timer();
            t.Interval = 1000;
            t.Tick    += new EventHandler(t_tick);
            t.Enabled  = true;
            //RefreshDateTime();
        }
Exemplo n.º 5
0
 public static void AddCallStackReleasedProc(EventHandler handler)
 {
     callStackReleasedHandlers -= handler;
     callStackReleasedHandlers += handler;
     if (callStackReleasedTimer == null)
     {
         callStackReleasedTimer = new System.Windows.Forms.Timer
         {
             Interval = 10
         };
         callStackReleasedTimer.Tick += OnTimerTick;
     }
     callStackReleasedTimer.Start();
 }
Exemplo n.º 6
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            if (Thread.CurrentThread.Name == null)
            {
                Thread.CurrentThread.Name = "UI";
            }

            ExceptionReporter.EnableLogUnhandledOnThread();
            SizeChanged += OnMinimizeWindow;

            _stashManager = new StashManager(_playerItemDao, _databaseItemStatDao, SetFeedback, ListviewUpdateTrigger);
            _stashFileMonitor.OnStashModified += (_, __) => {
                StashEventArg args = __ as StashEventArg;
                if (_stashManager != null && _stashManager.TryLootStashFile(args?.Filename))
                {
                    // STOP TIMER
                    _stashFileMonitor.CancelQueuedNotify();
                } // TODO: This logic should be changed to 're queue' but only trigger once, if its slow it triggers multiple times.
            };

            if (!_stashFileMonitor.StartMonitorStashfile(GlobalPaths.SavePath))
            {
                MessageBox.Show("Ooops!\nIt seems you are synchronizing your saves to steam cloud..\nThis tool is unfortunately not compatible.\n");
                Process.Start("http://www.grimdawn.com/forums/showthread.php?t=20752");

                if (!Debugger.IsAttached)
                {
                    Close();
                }
            }

            // Chicken and the egg..
            SearchController searchController = new SearchController(
                _databaseItemDao,
                _playerItemDao,
                _databaseItemStatDao,
                _itemSkillDao,
                _buddyItemDao,
                _stashManager,
                _augmentationItemRepo
                );

            _cefBrowserHandler.InitializeChromium(searchController.JsBind, Browser_IsBrowserInitializedChanged);
            searchController.Browser             = _cefBrowserHandler;
            searchController.JsBind.OnClipboard += SetItemsClipboard;

            // Load the grim database
            string gdPath = GrimDawnDetector.GetGrimLocation();

            if (!string.IsNullOrEmpty(gdPath))
            {
            }
            else
            {
                Logger.Warn("Could not find the Grim Dawn install location");
                statusLabel.Text = "Could not find the Grim Dawn install location";

                var timer = new System.Windows.Forms.Timer();
                timer.Tick    += TimerTickLookForGrimDawn;
                timer.Interval = 10000;
                timer.Start();
            }

            // Load recipes
            foreach (string file in GlobalPaths.FormulasFiles)
            {
                if (!string.IsNullOrEmpty(file))
                {
                    bool isHardcore = file.EndsWith("gsh");
                    Logger.InfoFormat("Reading recipes at \"{0}\", IsHardcore={1}", file, isHardcore);
                    _recipeParser.UpdateFormulas(file, isHardcore);
                }
            }

            var addAndShow = UIHelper.AddAndShow;

            // Create the tab contents
            _buddySettingsWindow = new BuddySettings(delegate(bool b) { BuddySyncEnabled = b; },
                                                     _buddyItemDao,
                                                     _buddySubscriptionDao
                                                     );

            addAndShow(_buddySettingsWindow, buddyPanel);

            _authAuthService = new AzureAuthService(_cefBrowserHandler, new AuthenticationProvider());
            var backupSettings = new BackupSettings(_playerItemDao, _authAuthService);

            addAndShow(backupSettings, backupPanel);
            addAndShow(new ModsDatabaseConfig(DatabaseLoadedTrigger, _playerItemDao, _parsingService), modsPanel);
            addAndShow(new HelpTab(), panelHelp);
            addAndShow(new LoggingWindow(), panelLogging);
            var backupService = new BackupService(_authAuthService, _playerItemDao, _azurePartitionDao, () => Settings.Default.UsingDualComputer);

            _backupServiceWorker            = new BackupServiceWorker(backupService);
            backupService.OnUploadComplete += (o, args) => _searchWindow.UpdateListView();
            searchController.OnSearch      += (o, args) => backupService.OnSearch();

            _searchWindow = new SplitSearchWindow(_cefBrowserHandler.BrowserControl, SetFeedback, _playerItemDao, searchController, _itemTagDao);
            addAndShow(_searchWindow, searchPanel);
            _stashManager.StashUpdated += (_, __) => {
                _searchWindow.UpdateListView();
            };

            addAndShow(
                new SettingsWindow(
                    _cefBrowserHandler,
                    _itemTagDao,
                    _tooltipHelper,
                    ListviewUpdateTrigger,
                    _databaseSettingDao,
                    _playerItemDao,
                    _arzParser,
                    _searchWindow.ModSelectionHandler.GetAvailableModSelection(),
                    _stashManager,
                    _parsingService
                    ),
                settingsPanel);

            new StashTabPicker(_stashManager.NumStashTabs).SaveStashSettingsToRegistry();

#if !DEBUG
            ThreadPool.QueueUserWorkItem(m => ExceptionReporter.ReportUsage());
            CheckForUpdates();
#endif

            int min  = 1000 * 60;
            int hour = 60 * min;
            _timerReportUsage = new Timer();
            _timerReportUsage.Start();
            _timerReportUsage.Elapsed += (a1, a2) => {
                if (Thread.CurrentThread.Name == null)
                {
                    Thread.CurrentThread.Name = "ReportUsageThread";
                }
                ReportUsage();
            };
            _timerReportUsage.Interval  = 12 * hour;
            _timerReportUsage.AutoReset = true;
            _timerReportUsage.Start();

            Shown += (_, __) => { StartInjector(); };

            //settingsController.Data.budd
            BuddySyncEnabled = (bool)Settings.Default.BuddySyncEnabled;

            // Start the backup task
            _backupBackgroundTask = new BackgroundTask(new FileBackup(_playerItemDao));

            LocalizationLoader.ApplyLanguage(Controls, GlobalSettings.Language);
            EasterEgg.Activate(this);

            // Initialize the "stash packer" used to find item positions for transferring items ingame while the stash is open
            {
                _dynamicPacker.Initialize(8, 16);

                var transferFiles = GlobalPaths.TransferFiles;
                if (transferFiles.Count > 0)
                {
                    var file  = transferFiles.MaxBy(m => m.LastAccess);
                    var stash = StashManager.GetStash(file.Filename);
                    if (stash != null)
                    {
                        _dynamicPacker.Initialize(stash.Width, stash.Height);
                        if (stash.Tabs.Count >= 3)
                        {
                            foreach (var item in stash.Tabs[2].Items)
                            {
                                byte[] bx = BitConverter.GetBytes(item.XOffset);
                                uint   x  = (uint)BitConverter.ToSingle(bx, 0);

                                byte[] by = BitConverter.GetBytes(item.YOffset);
                                uint   y  = (uint)BitConverter.ToSingle(by, 0);

                                _dynamicPacker.Insert(item.BaseRecord, item.Seed, x, y);
                            }
                        }
                    }
                }
            }

            _messageProcessors.Add(new ItemPositionFinder(_dynamicPacker));
            _messageProcessors.Add(new PlayerPositionTracker());
            _messageProcessors.Add(new StashStatusHandler());
            _messageProcessors.Add(new ItemReceivedProcessor(_searchWindow, _stashFileMonitor, _playerItemDao));
            _messageProcessors.Add(new ItemInjectCallbackProcessor(_searchWindow.UpdateListViewDelayed, _playerItemDao));
            _messageProcessors.Add(new ItemSpawnedProcessor());
            _messageProcessors.Add(new CloudDetectorProcessor(SetFeedback));
            _messageProcessors.Add(new GenericErrorHandler());
            //messageProcessors.Add(new LogMessageProcessor());
#if DEBUG
            //messageProcessors.Add(new DebugMessageProcessor());
#endif

            GlobalSettings.StashStatusChanged += GlobalSettings_StashStatusChanged;

            _transferController = new ItemTransferController(
                _cefBrowserHandler,
                SetFeedback,
                SetTooltipAtmouse,
                _settingsController,
                _searchWindow,
                _dynamicPacker,
                _playerItemDao,
                _stashManager,
                new ItemStatService(_databaseItemStatDao, _itemSkillDao)
                );
            Application.AddMessageFilter(new MousewheelMessageFilter());


            var titleTag = GlobalSettings.Language.GetTag("iatag_ui_itemassistant");
            if (!string.IsNullOrEmpty(titleTag))
            {
                this.Text += $" - {titleTag}";
            }


            // Popup login diag
            if (_authAuthService.CheckAuthentication() == AzureAuthService.AccessStatus.Unauthorized)
            {
                var t = new System.Windows.Forms.Timer {
                    Interval = 100
                };
                t.Tick += (o, args) => {
                    if (_cefBrowserHandler.BrowserControl.IsBrowserInitialized)
                    {
                        _authAuthService.Authenticate();
                        t.Stop();
                    }
                };
                t.Start();
            }


            _cefBrowserHandler.TransferSingleRequested += TransferSingleItem;
            _cefBrowserHandler.TransferAllRequested    += TransferAllItems;
            new WindowSizeManager(this);
        }
Exemplo n.º 7
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="e"></param>
		protected override void OnMouseMove(MouseEventArgs e)
		{
			base.OnMouseMove(e);

//			if (m_bMouseMoveLocked == true)
//				return;

			Point p = new Point(e.X, e.Y);
			Node oMouseMoveNode = GetSubObjectAtPoint(p) as Node;

			// get the mouse down info and the coordinates, if we are starting to move mouse over the clicked node
			// then start the drag drop operation
			if (AutoDragDrop == true)
			{
                if (m_oButtonClicked == MouseButtons.Left && m_oDragNode == null && oMouseMoveNode != null && m_bDragDropNode == false)
				{
                    if (Math.Abs(m_oMouseClickPoint.X - p.X) > 3 || Math.Abs(m_oMouseClickPoint.Y - p.Y) > 3)
                    {
                        if (oMouseMoveNode.AllowDrag == true)
                        {
                            m_bDragDropNode = true;
                            m_oDragNode = oMouseMoveNode;

                            if (m_oDragNode != null)
                            {
                                m_oDragDropPop = new DragDropPopup(m_oDragNode);
                                m_oDragDropPop.Show();

                                this.Focus();
                            }
                        }
                    }
				}
			}

			#region dragdrop node drop test

			if (m_bDragDropNode == true && m_oDragDropPop != null)
			{
				m_oDragDropPop.CanDrop = false;
				m_oDragDropPop.Left = this.PointToScreen(p).X + 10;
				m_oDragDropPop.Top = this.PointToScreen(p).Y + 10;

				// get the drop object and check if we can drop it here
				// try to find the group or node object and set the object to the property window
				Node oCanDropNode = this.GetSubObjectAtPoint(p) as Node;

				if (oCanDropNode != null)
				{
					if (oCanDropNode.AllowDrop == true)
					{
						if (m_oDragNode != null && m_oDragNode.IsSomeParent(oCanDropNode) == false)
							m_oDragDropPop.CanDrop = true;
					}
					else
						m_oDragDropPop.CanDrop = false;
				}

				if (oCanDropNode != null && oCanDropNode.IsExpanded == false)
				{
					// start the expand timer 
					m_oTimerExpandNode = oCanDropNode;

					System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
					timer.Interval = 800;
					timer.Tick += new EventHandler(this.ExpandTimerTick);
					timer.Enabled = true;
				}

				m_oDragDropPop.Refresh();
			}

			#endregion

			#region dragdrop autoscroll

			if (Controls.Contains(m_oScrollBar) == true && m_oDragNode != null)
			{
				if (p.Y < 10 && m_bDragScrollDownRunning == false)
				{
					if (m_oDragScrollThread != null)
						try
						{
							m_oDragScrollThread.Abort();
						}
						catch
						{
						}

					m_oDragScrollThread = new Thread(new ThreadStart(this.OnDragScrollDown));
					m_oDragScrollThread.Start();
				}
				else if (p.Y > this.Height - 10 && m_bDragScrollUpRunning == false)
				{
					if (m_oDragScrollThread != null)
						try
						{
							m_oDragScrollThread.Abort();
						}
						catch
						{
						}

					m_oDragScrollThread = new Thread(new ThreadStart(this.OnDragScrollUp));
					m_oDragScrollThread.Start();
				}
				else
				{
					// if the mouse is outside the scrolling area and the scrolling thread is running stop the scrolling
					if (m_oDragScrollThread != null)
						try
						{
							m_oDragScrollThread.Abort();
						}
						catch
						{
						}

					m_bDragScrollDownRunning = false;
					m_bDragScrollUpRunning = false;
				}
			}

			#endregion

			#region Node dragdrop structure creation and dragdrop check

			if (AutoDragDrop == true)
			{
				if (oMouseMoveNode != null)
				{
					if (m_oDragNode != null && oMouseMoveNode != m_oDragNode)
					{
						// we are not dragging, just hightlight the node
						if (m_bDragDropNode == true)
						{
							// we are in the dragging mode, get the node's rectangle and do some more calculations and
							// operations here
							Rectangle oRect = GetNodeRect(oMouseMoveNode);

							// test the area where we are with the actual point of drag. 
							if (p.Y >= oRect.Top && p.Y < oRect.Top + ((float) oRect.Height / 2.0))
							{
								if (p.X > m_oMouseClickPoint.X + 3)
									// we are in the upper part of the node, but in the right side, drop under
									DragDropNode = new NodeDragDrop(m_oDragNode, oMouseMoveNode, NodeDropMode.DropUnder);
								else
									// we are in the upper part of the node
									DragDropNode = new NodeDragDrop(m_oDragNode, oMouseMoveNode, NodeDropMode.DropInfront);
							}
							else if (p.Y >= oRect.Top + ((float) oRect.Height / 2.0) && p.Y <= oRect.Bottom)
							{
								// we are in the lower part of the node
								if (p.X > m_oMouseClickPoint.X + 3)
									// test the X coordinate, if we are in the right from the pop, then behave in that way
									DragDropNode = new NodeDragDrop(m_oDragNode, oMouseMoveNode, NodeDropMode.DropUnder);
								else
									// test the X coordinate, if we are in the right from the pop, then behave in that way
									DragDropNode = new NodeDragDrop(m_oDragNode, oMouseMoveNode, NodeDropMode.DropAfter);
							}
						}
					}
				}
			}

			#endregion	

			HighlightedNode = null;

			#region search for the node, if node found, highlight it

			if (this.Style.TrackNodeHover == true)
			{
				foreach (Rectangle r in m_mapRectToSubItem.Keys)
				{
					if (r.Contains(e.X, e.Y) == false)
						continue;

					Node oNode = m_mapRectToSubItem[r] as Node;

					if (oNode == null)
					{
						base.OnMouseMove(e);

						return;
					}

					if (this.HighlightedNode == oNode)
					{
						base.OnMouseMove(e);

						InvokeNodeMouseMove(e, oNode);

						return;
					}

					this.HighlightedNode = oNode;

					Invalidate();

					if (this.MouseOverNode != null && this.MouseOverNode != oNode)
						InvokeNodeMouseLeave(MouseOverNode);

					if (this.MouseOverNode != oNode)
					{
						this.MouseOverNode = oNode;
						InvokeNodeMouseEnter(MouseOverNode);
					}

					base.OnMouseMove(e);

					InvokeNodeMouseMove(e, oNode);

					return;
				}
			}
			else
			{
				foreach (Rectangle r in m_mapRectToSubItem.Keys)
				{
					if (r.Contains(e.X, e.Y) == false)
						continue;

					Node oNode = m_mapRectToSubItem[r] as Node;

					if (oNode == null)
					{
						base.OnMouseMove(e);

						return;
					}

					if (this.MouseOverNode != null && this.MouseOverNode != oNode)
						InvokeNodeMouseLeave(MouseOverNode);

					if (this.MouseOverNode != oNode)
					{
						this.MouseOverNode = oNode;
						InvokeNodeMouseEnter(MouseOverNode);
					}

					base.OnMouseMove(e);

					InvokeNodeMouseMove(e, oNode);

					Invalidate();

					return;
				}
			}

			#endregion

			bool bInvalidate = false;

			HighlightedNode = null;

			if (MouseOverNode != null)
			{
				InvokeNodeMouseLeave(MouseOverNode);

				bInvalidate = true;
			}

			MouseOverNode = null;

			if (bInvalidate == true)
				Invalidate();
		}
Exemplo n.º 8
0
        private void MainWindow_Load(object sender, EventArgs e) {
            if (Thread.CurrentThread.Name == null)
                Thread.CurrentThread.Name = "UI";


            ExceptionReporter.EnableLogUnhandledOnThread();
            SizeChanged += OnMinimizeWindow;

            buttonDevTools.Visible = Debugger.IsAttached;


            _stashManager = new StashManager(_playerItemDao, _databaseItemStatDao);
            if (!_stashManager.StartMonitorStashfile(SetFeedback, ListviewUpdateTrigger)) {
                MessageBox.Show("Ooops!\nIt seems you are synchronizing your saves to steam cloud..\nThis tool is unfortunately not compatible.\n");
                Process.Start("http://www.grimdawn.com/forums/showthread.php?t=20752");

                if (!Debugger.IsAttached)
                    Close();

            }

            //ItemHtmlWriter.Write(new List<PlayerHeldItem>());

            // Chicken and the egg..
            SearchController searchController = new SearchController(
                _databaseItemDao,
                _playerItemDao, 
                _databaseItemStatDao, 
                _itemSkillDao, 
                _buddyItemDao,
                _stashManager
                );
            _cefBrowserHandler.InitializeChromium(searchController.JsBind, Browser_IsBrowserInitializedChanged);
            searchController.Browser = _cefBrowserHandler;
            searchController.JsBind.OnTransfer += TransferItem;
            searchController.JsBind.OnClipboard += SetItemsClipboard;

            // Load the grim database
            string gdPath = GrimDawnDetector.GetGrimLocation();
            if (!string.IsNullOrEmpty(gdPath)) {
            } else {
                Logger.Warn("Could not find the Grim Dawn install location");
                statusLabel.Text = "Could not find the Grim Dawn install location";

                var timer = new System.Windows.Forms.Timer();
                timer.Tick += TimerTickLookForGrimDawn;
                timer.Interval = 10000;
                timer.Start();
            }

    

            var addAndShow = UIHelper.AddAndShow;


            // Create the tab contents
            _buddySettingsWindow = new BuddySettings(delegate (bool b) { BuddySyncEnabled = b; }, 
                _buddyItemDao, 
                _buddySubscriptionDao
                );

            addAndShow(_buddySettingsWindow, buddyPanel);

            var backupSettings = new BackupSettings(EnableOnlineBackups, _playerItemDao);
            tabControl1.Selected += ((s, ev) => {
                if (ev.TabPage == tabPageBackups)
                    backupSettings?.BackupSettings_GotFocus();
            });
            addAndShow(backupSettings, backupPanel);
            addAndShow(new ModsDatabaseConfig(DatabaseLoadedTrigger, _databaseSettingDao, _arzParser, _playerItemDao), modsPanel);
            addAndShow(new HelpTab(), panelHelp);            
            addAndShow(new LoggingWindow(), panelLogging);


            _searchWindow = new SearchWindow(_cefBrowserHandler.BrowserControl, SetFeedback, _playerItemDao, searchController, _databaseItemDao);
            addAndShow(_searchWindow, searchPanel);


            addAndShow(
                new SettingsWindow(_tooltipHelper,
                    ListviewUpdateTrigger,
                    _databaseSettingDao,
                    _databaseItemDao,
                    _playerItemDao,
                    _arzParser,
                    _searchWindow.ModSelectionHandler.GetAvailableModSelection(),
                    _stashManager
                ),
                settingsPanel);


            new StashTabPicker(_stashManager.NumStashTabs).SaveStashSettingsToRegistry();

#if !DEBUG
            ThreadPool.QueueUserWorkItem(m => ExceptionReporter.ReportUsage());
            CheckForUpdates();
#endif

            int min = 1000 * 60;
            int hour = 60 * min;
            _timerReportUsage = new Timer();
            _timerReportUsage.Start();
            _timerReportUsage.Elapsed += (a1, a2) => {
                if (Thread.CurrentThread.Name == null)
                    Thread.CurrentThread.Name = "ReportUsageThread";
                ReportUsage();
            };
            _timerReportUsage.Interval = 12 * hour;
            _timerReportUsage.AutoReset = true;
            _timerReportUsage.Start();


            Shown += (_, __) => { StartInjector(); };

            //settingsController.Data.budd
            BuddySyncEnabled = (bool)Settings.Default.BuddySyncEnabled;

            // Start the backup task
            _backupBackgroundTask = new BackgroundTask(new CloudBackup(_playerItemDao));



            LocalizationLoader.ApplyLanguage(Controls, GlobalSettings.Language);
            EasterEgg.Activate(this);
Exemplo n.º 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this._mainMenu = new System.Windows.Forms.MainMenu(this.components);
     this._fileItem = new System.Windows.Forms.MenuItem();
     this._menuItem19 = new System.Windows.Forms.MenuItem();
     this._menuItem21 = new System.Windows.Forms.MenuItem();
     this._menuItem1 = new System.Windows.Forms.MenuItem();
     this._exitFileItem = new System.Windows.Forms.MenuItem();
     this._menuItem36 = new System.Windows.Forms.MenuItem();
     this._menuItem37 = new System.Windows.Forms.MenuItem();
     this._menuItem16 = new System.Windows.Forms.MenuItem();
     this._menuItem39 = new System.Windows.Forms.MenuItem();
     this._menuItem12 = new System.Windows.Forms.MenuItem();
     this._menuItem14 = new System.Windows.Forms.MenuItem();
     this._menuItem29 = new System.Windows.Forms.MenuItem();
     this._menuItem20 = new System.Windows.Forms.MenuItem();
     this._menuItem22 = new System.Windows.Forms.MenuItem();
     this._menuItem9 = new System.Windows.Forms.MenuItem();
     this._menuItem8 = new System.Windows.Forms.MenuItem();
     this._menuItem34 = new System.Windows.Forms.MenuItem();
     this._menuItem33 = new System.Windows.Forms.MenuItem();
     this._miApplySchedule = new System.Windows.Forms.MenuItem();
     this._menuItem31 = new System.Windows.Forms.MenuItem();
     this._helpItem = new System.Windows.Forms.MenuItem();
     this._aboutHelpItem = new System.Windows.Forms.MenuItem();
     this._menuItem30 = new System.Windows.Forms.MenuItem();
     this._menuItem2 = new System.Windows.Forms.MenuItem();
     this._menuItem10 = new System.Windows.Forms.MenuItem();
     this._menuItem38 = new System.Windows.Forms.MenuItem();
     this._menuItem11 = new System.Windows.Forms.MenuItem();
     this._menuItem5 = new System.Windows.Forms.MenuItem();
     this._menuItem27 = new System.Windows.Forms.MenuItem();
     this._menuItem26 = new System.Windows.Forms.MenuItem();
     this._pnlCameras = new System.Windows.Forms.Panel();
     this._ctxtMainForm = new System.Windows.Forms.ContextMenuStrip(this.components);
     this._addCameraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._addMicrophoneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._fullScreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._opacityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._opacityToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this._opacityToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
     this._autoLayoutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._fileMenuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._toolStripToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._toolStrip1 = new System.Windows.Forms.ToolStrip();
     this._toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
     this._localCameraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._iPCameraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._microphoneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._toolStripButton4 = new System.Windows.Forms.ToolStripButton();
     this._notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
     this._tmrStartup = new System.Windows.Forms.Timer(this.components);
     this._ctxtMnu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this._activateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._setInactiveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._takePhotoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._positionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._resetSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._ctxtTaskbar = new System.Windows.Forms.ContextMenuStrip(this.components);
     this._unlockToolstripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._switchAllOnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._switchAllOffToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._showToolstripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._showISpy10PercentOpacityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._showISpy30OpacityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._showISpy100PercentOpacityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._helpToolstripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._websiteToolstripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._statusStrip1 = new System.Windows.Forms.StatusStrip();
     this._tsslStats = new System.Windows.Forms.ToolStripStatusLabel();
     this._ctxtMainForm.SuspendLayout();
     this._toolStrip1.SuspendLayout();
     this._ctxtMnu.SuspendLayout();
     this._ctxtTaskbar.SuspendLayout();
     this._statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // _mainMenu
     //
     this._mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._fileItem,
     this._menuItem36,
     this._menuItem16,
     this._menuItem9,
     this._helpItem});
     //
     // _fileItem
     //
     this._fileItem.Index = 0;
     this._fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._menuItem19,
     this._menuItem21,
     this._menuItem1,
     this._exitFileItem});
     this._fileItem.Text = "&File";
     //
     // _menuItem19
     //
     this._menuItem19.Index = 0;
     this._menuItem19.Text = "&Save Object List";
     this._menuItem19.Click += new System.EventHandler(this.MenuItem19Click);
     //
     // _menuItem21
     //
     this._menuItem21.Index = 1;
     this._menuItem21.Text = "&Open Object List";
     this._menuItem21.Click += new System.EventHandler(this.MenuItem21Click);
     //
     // _menuItem1
     //
     this._menuItem1.Index = 2;
     this._menuItem1.Text = "-";
     //
     // _exitFileItem
     //
     this._exitFileItem.Index = 3;
     this._exitFileItem.Text = "E&xit";
     this._exitFileItem.Click += new System.EventHandler(this.ExitFileItemClick);
     //
     // _menuItem36
     //
     this._menuItem36.Index = 1;
     this._menuItem36.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._menuItem37});
     this._menuItem36.Text = "Edit";
     //
     // _menuItem37
     //
     this._menuItem37.Index = 0;
     this._menuItem37.Text = "Cameras and Microphones";
     this._menuItem37.Click += new System.EventHandler(this.MenuItem37Click);
     //
     // _menuItem16
     //
     this._menuItem16.Index = 2;
     this._menuItem16.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._menuItem39,
     this._menuItem20,
     this._menuItem22});
     this._menuItem16.Text = "View";
     //
     // _menuItem39
     //
     this._menuItem39.Index = 0;
     this._menuItem39.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._menuItem12,
     this._menuItem14,
     this._menuItem29});
     this._menuItem39.Text = "Auto Layout Objects";
     this._menuItem39.Click += new System.EventHandler(this.MenuItem39Click);
     //
     // _menuItem12
     //
     this._menuItem12.Index = 0;
     this._menuItem12.Text = "160 x 120";
     this._menuItem12.Click += new System.EventHandler(this.MenuItem12Click);
     //
     // _menuItem14
     //
     this._menuItem14.Index = 1;
     this._menuItem14.Text = "320 x 240";
     this._menuItem14.Click += new System.EventHandler(this.MenuItem14Click);
     //
     // _menuItem29
     //
     this._menuItem29.Index = 2;
     this._menuItem29.Text = "Current";
     this._menuItem29.Click += new System.EventHandler(this.MenuItem29Click1);
     //
     // _menuItem20
     //
     this._menuItem20.Index = 1;
     this._menuItem20.Text = "Log &File";
     this._menuItem20.Click += new System.EventHandler(this.MenuItem20Click);
     //
     // _menuItem22
     //
     this._menuItem22.Index = 2;
     this._menuItem22.Text = "Log F&iles";
     this._menuItem22.Click += new System.EventHandler(this.MenuItem22Click1);
     //
     // _menuItem9
     //
     this._menuItem9.Index = 3;
     this._menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._menuItem8,
     this._menuItem34,
     this._menuItem33,
     this._miApplySchedule,
     this._menuItem31});
     this._menuItem9.Text = "&Options";
     //
     // _menuItem8
     //
     this._menuItem8.Index = 0;
     this._menuItem8.Text = "&Settings";
     this._menuItem8.Click += new System.EventHandler(this.MenuItem8Click);
     //
     // _menuItem34
     //
     this._menuItem34.Index = 1;
     this._menuItem34.Text = "Switch On All Objects";
     this._menuItem34.Click += new System.EventHandler(this.MenuItem34Click);
     //
     // _menuItem33
     //
     this._menuItem33.Index = 2;
     this._menuItem33.Text = "Switch Off All Objects";
     this._menuItem33.Click += new System.EventHandler(this.MenuItem33Click);
     //
     // _miApplySchedule
     //
     this._miApplySchedule.Index = 3;
     this._miApplySchedule.Text = "Apply Schedule";
     this._miApplySchedule.Click += new System.EventHandler(this.MenuItem3Click1);
     //
     // _menuItem31
     //
     this._menuItem31.Index = 4;
     this._menuItem31.Text = "&Remove All Objects";
     this._menuItem31.Click += new System.EventHandler(this.MenuItem31Click);
     //
     // _helpItem
     //
     this._helpItem.Index = 4;
     this._helpItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._aboutHelpItem,
     this._menuItem30,
     this._menuItem2,
     this._menuItem10,
     this._menuItem38,
     this._menuItem11,
     this._menuItem5,
     this._menuItem27,
     this._menuItem26});
     this._helpItem.Text = "&Help";
     //
     // _aboutHelpItem
     //
     this._aboutHelpItem.Index = 0;
     this._aboutHelpItem.Text = "&About";
     this._aboutHelpItem.Click += new System.EventHandler(this.AboutHelpItemClick);
     //
     // _menuItem30
     //
     this._menuItem30.Index = 1;
     this._menuItem30.Text = "-";
     //
     // _menuItem2
     //
     this._menuItem2.Index = 2;
     this._menuItem2.Text = "&Help";
     this._menuItem2.Click += new System.EventHandler(this.MenuItem2Click);
     //
     // _menuItem10
     //
     this._menuItem10.Index = 3;
     this._menuItem10.Text = "&Check For Updates";
     this._menuItem10.Click += new System.EventHandler(this.MenuItem10Click);
     //
     // _menuItem38
     //
     this._menuItem38.Index = 4;
     this._menuItem38.Text = "View Update Information";
     this._menuItem38.Click += new System.EventHandler(this.MenuItem38Click);
     //
     // _menuItem11
     //
     this._menuItem11.Index = 5;
     this._menuItem11.Text = "&Report Bug/ Feedback";
     this._menuItem11.Click += new System.EventHandler(this.MenuItem11Click);
     //
     // _menuItem5
     //
     this._menuItem5.Index = 6;
     this._menuItem5.Text = "Go to &Website";
     this._menuItem5.Click += new System.EventHandler(this.MenuItem5Click);
     //
     // _menuItem27
     //
     this._menuItem27.Index = 7;
     this._menuItem27.Text = "-";
     //
     // _menuItem26
     //
     this._menuItem26.Index = 8;
     this._menuItem26.Text = "&Support iSpy With a Donation";
     this._menuItem26.Click += new System.EventHandler(this.MenuItem26Click);
     //
     // _pnlCameras
     //
     this._pnlCameras.AutoScroll = true;
     this._pnlCameras.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._pnlCameras.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this._pnlCameras.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this._pnlCameras.ContextMenuStrip = this._ctxtMainForm;
     this._pnlCameras.Dock = System.Windows.Forms.DockStyle.Fill;
     this._pnlCameras.Location = new System.Drawing.Point(0, 39);
     this._pnlCameras.Name = "_pnlCameras";
     this._pnlCameras.Size = new System.Drawing.Size(1015, 785);
     this._pnlCameras.TabIndex = 18;
     this._pnlCameras.Paint += new System.Windows.Forms.PaintEventHandler(this.PnlCamerasPaint);
     this._pnlCameras.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PnlCamerasMouseUp);
     //
     // _ctxtMainForm
     //
     this._ctxtMainForm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._addCameraToolStripMenuItem,
     this._addMicrophoneToolStripMenuItem,
     this._settingsToolStripMenuItem,
     this._fullScreenToolStripMenuItem,
     this._opacityToolStripMenuItem,
     this._opacityToolStripMenuItem1,
     this._opacityToolStripMenuItem2,
     this._autoLayoutToolStripMenuItem,
     this._statusBarToolStripMenuItem,
     this._fileMenuToolStripMenuItem,
     this._toolStripToolStripMenuItem});
     this._ctxtMainForm.Name = "_ctxtMainForm";
     this._ctxtMainForm.Size = new System.Drawing.Size(165, 246);
     this._ctxtMainForm.Opening += new System.ComponentModel.CancelEventHandler(this.CtxtMainFormOpening);
     //
     // _addCameraToolStripMenuItem
     //
     this._addCameraToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.camera;
     this._addCameraToolStripMenuItem.Name = "_addCameraToolStripMenuItem";
     this._addCameraToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._addCameraToolStripMenuItem.Text = "Add &Camera";
     this._addCameraToolStripMenuItem.Click += new System.EventHandler(this.AddCameraToolStripMenuItemClick);
     //
     // _addMicrophoneToolStripMenuItem
     //
     this._addMicrophoneToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.Mic;
     this._addMicrophoneToolStripMenuItem.Name = "_addMicrophoneToolStripMenuItem";
     this._addMicrophoneToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._addMicrophoneToolStripMenuItem.Text = "Add &Microphone";
     this._addMicrophoneToolStripMenuItem.Click += new System.EventHandler(this.AddMicrophoneToolStripMenuItemClick);
     //
     // _settingsToolStripMenuItem
     //
     this._settingsToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.settings;
     this._settingsToolStripMenuItem.Name = "_settingsToolStripMenuItem";
     this._settingsToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._settingsToolStripMenuItem.Text = "&Settings";
     this._settingsToolStripMenuItem.Click += new System.EventHandler(this.SettingsToolStripMenuItemClick);
     //
     // _fullScreenToolStripMenuItem
     //
     this._fullScreenToolStripMenuItem.Name = "_fullScreenToolStripMenuItem";
     this._fullScreenToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._fullScreenToolStripMenuItem.Text = "&Full Screen";
     this._fullScreenToolStripMenuItem.Click += new System.EventHandler(this.FullScreenToolStripMenuItemClick);
     //
     // _opacityToolStripMenuItem
     //
     this._opacityToolStripMenuItem.Name = "_opacityToolStripMenuItem";
     this._opacityToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._opacityToolStripMenuItem.Text = "10% Opacity";
     this._opacityToolStripMenuItem.Click += new System.EventHandler(this.OpacityToolStripMenuItemClick);
     //
     // _opacityToolStripMenuItem1
     //
     this._opacityToolStripMenuItem1.Name = "_opacityToolStripMenuItem1";
     this._opacityToolStripMenuItem1.Size = new System.Drawing.Size(164, 22);
     this._opacityToolStripMenuItem1.Text = "30% Opacity";
     this._opacityToolStripMenuItem1.Click += new System.EventHandler(this.OpacityToolStripMenuItem1Click);
     //
     // _opacityToolStripMenuItem2
     //
     this._opacityToolStripMenuItem2.Name = "_opacityToolStripMenuItem2";
     this._opacityToolStripMenuItem2.Size = new System.Drawing.Size(164, 22);
     this._opacityToolStripMenuItem2.Text = "100% Opacity";
     this._opacityToolStripMenuItem2.Click += new System.EventHandler(this.OpacityToolStripMenuItem2Click);
     //
     // _autoLayoutToolStripMenuItem
     //
     this._autoLayoutToolStripMenuItem.Checked = true;
     this._autoLayoutToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this._autoLayoutToolStripMenuItem.Name = "_autoLayoutToolStripMenuItem";
     this._autoLayoutToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._autoLayoutToolStripMenuItem.Text = "Auto Layout";
     this._autoLayoutToolStripMenuItem.Click += new System.EventHandler(this.AutoLayoutToolStripMenuItemClick);
     //
     // _statusBarToolStripMenuItem
     //
     this._statusBarToolStripMenuItem.Checked = true;
     this._statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this._statusBarToolStripMenuItem.Name = "_statusBarToolStripMenuItem";
     this._statusBarToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._statusBarToolStripMenuItem.Text = "Status &Bar";
     this._statusBarToolStripMenuItem.Click += new System.EventHandler(this.StatusBarToolStripMenuItemClick);
     //
     // _fileMenuToolStripMenuItem
     //
     this._fileMenuToolStripMenuItem.Checked = true;
     this._fileMenuToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this._fileMenuToolStripMenuItem.Name = "_fileMenuToolStripMenuItem";
     this._fileMenuToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._fileMenuToolStripMenuItem.Text = "File &Menu";
     this._fileMenuToolStripMenuItem.Click += new System.EventHandler(this.FileMenuToolStripMenuItemClick);
     //
     // _toolStripToolStripMenuItem
     //
     this._toolStripToolStripMenuItem.Checked = true;
     this._toolStripToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this._toolStripToolStripMenuItem.Name = "_toolStripToolStripMenuItem";
     this._toolStripToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
     this._toolStripToolStripMenuItem.Text = "&Tool Strip";
     this._toolStripToolStripMenuItem.Click += new System.EventHandler(this.ToolStripToolStripMenuItemClick);
     //
     // _toolStrip1
     //
     this._toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
     this._toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._toolStripDropDownButton2,
     this._toolStripButton4});
     this._toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this._toolStrip1.Location = new System.Drawing.Point(0, 0);
     this._toolStrip1.Name = "_toolStrip1";
     this._toolStrip1.Size = new System.Drawing.Size(1015, 39);
     this._toolStrip1.TabIndex = 0;
     this._toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.ToolStrip1ItemClicked);
     //
     // _toolStripDropDownButton2
     //
     this._toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._localCameraToolStripMenuItem,
     this._iPCameraToolStripMenuItem,
     this._microphoneToolStripMenuItem});
     this._toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._toolStripDropDownButton2.Name = "_toolStripDropDownButton2";
     this._toolStripDropDownButton2.Size = new System.Drawing.Size(51, 36);
     this._toolStripDropDownButton2.Text = "Add...";
     //
     // _localCameraToolStripMenuItem
     //
     this._localCameraToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.addcam;
     this._localCameraToolStripMenuItem.Name = "_localCameraToolStripMenuItem";
     this._localCameraToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
     this._localCameraToolStripMenuItem.Text = "Local Camera";
     this._localCameraToolStripMenuItem.Click += new System.EventHandler(this.LocalCameraToolStripMenuItemClick);
     //
     // _iPCameraToolStripMenuItem
     //
     this._iPCameraToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.ipcam;
     this._iPCameraToolStripMenuItem.Name = "_iPCameraToolStripMenuItem";
     this._iPCameraToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
     this._iPCameraToolStripMenuItem.Text = "IP Camera";
     this._iPCameraToolStripMenuItem.Click += new System.EventHandler(this.IPCameraToolStripMenuItemClick);
     //
     // _microphoneToolStripMenuItem
     //
     this._microphoneToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.Mic;
     this._microphoneToolStripMenuItem.Name = "_microphoneToolStripMenuItem";
     this._microphoneToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
     this._microphoneToolStripMenuItem.Text = "Microphone";
     this._microphoneToolStripMenuItem.Click += new System.EventHandler(this.MicrophoneToolStripMenuItemClick);
     //
     // _toolStripButton4
     //
     this._toolStripButton4.Image = global::iSpyServer.Properties.Resources.settings;
     this._toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._toolStripButton4.Name = "_toolStripButton4";
     this._toolStripButton4.Size = new System.Drawing.Size(85, 36);
     this._toolStripButton4.Text = "Settings";
     this._toolStripButton4.Click += new System.EventHandler(this.ToolStripButton4Click);
     //
     // _notifyIcon1
     //
     this._notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("_notifyIcon1.Icon")));
     this._notifyIcon1.Text = "iSpy";
     this._notifyIcon1.Visible = true;
     this._notifyIcon1.Click += new System.EventHandler(this.NotifyIcon1Click);
     this._notifyIcon1.DoubleClick += new System.EventHandler(this.NotifyIcon1DoubleClick);
     //
     // _tmrStartup
     //
     this._tmrStartup.Interval = 1000;
     this._tmrStartup.Tick += new System.EventHandler(this.TmrStartupTick);
     //
     // _ctxtMnu
     //
     this._ctxtMnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._activateToolStripMenuItem,
     this._setInactiveToolStripMenuItem,
     this._takePhotoToolStripMenuItem,
     this._editToolStripMenuItem,
     this._positionToolStripMenuItem,
     this._resetSizeToolStripMenuItem,
     this._deleteToolStripMenuItem});
     this._ctxtMnu.Name = "_ctxtMnu";
     this._ctxtMnu.Size = new System.Drawing.Size(153, 180);
     //
     // _activateToolStripMenuItem
     //
     this._activateToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.active;
     this._activateToolStripMenuItem.Name = "_activateToolStripMenuItem";
     this._activateToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._activateToolStripMenuItem.Text = "Switch &On";
     this._activateToolStripMenuItem.Click += new System.EventHandler(this.ActivateToolStripMenuItemClick);
     //
     // _setInactiveToolStripMenuItem
     //
     this._setInactiveToolStripMenuItem.Name = "_setInactiveToolStripMenuItem";
     this._setInactiveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._setInactiveToolStripMenuItem.Text = "&Switch Off";
     this._setInactiveToolStripMenuItem.Click += new System.EventHandler(this.SetInactiveToolStripMenuItemClick);
     //
     // _takePhotoToolStripMenuItem
     //
     this._takePhotoToolStripMenuItem.Image = global::iSpyServer.Properties.Resources.snapshot;
     this._takePhotoToolStripMenuItem.Name = "_takePhotoToolStripMenuItem";
     this._takePhotoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._takePhotoToolStripMenuItem.Text = "Take Photo";
     this._takePhotoToolStripMenuItem.Click += new System.EventHandler(this.TakePhotoToolStripMenuItemClick);
     //
     // _editToolStripMenuItem
     //
     this._editToolStripMenuItem.Name = "_editToolStripMenuItem";
     this._editToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._editToolStripMenuItem.Text = "&Edit";
     this._editToolStripMenuItem.Click += new System.EventHandler(this.EditToolStripMenuItemClick);
     //
     // _positionToolStripMenuItem
     //
     this._positionToolStripMenuItem.Name = "_positionToolStripMenuItem";
     this._positionToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._positionToolStripMenuItem.Text = "Position";
     this._positionToolStripMenuItem.Click += new System.EventHandler(this.PositionToolStripMenuItemClick);
     //
     // _resetSizeToolStripMenuItem
     //
     this._resetSizeToolStripMenuItem.Name = "_resetSizeToolStripMenuItem";
     this._resetSizeToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._resetSizeToolStripMenuItem.Text = "Reset Si&ze";
     this._resetSizeToolStripMenuItem.Click += new System.EventHandler(this.ResetSizeToolStripMenuItemClick);
     //
     // _deleteToolStripMenuItem
     //
     this._deleteToolStripMenuItem.Name = "_deleteToolStripMenuItem";
     this._deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this._deleteToolStripMenuItem.Text = "&Remove";
     this._deleteToolStripMenuItem.Click += new System.EventHandler(this.DeleteToolStripMenuItemClick);
     //
     // _ctxtTaskbar
     //
     this._ctxtTaskbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._unlockToolstripMenuItem,
     this._switchAllOnToolStripMenuItem,
     this._switchAllOffToolStripMenuItem,
     this._showToolstripMenuItem,
     this._showISpy10PercentOpacityToolStripMenuItem,
     this._showISpy30OpacityToolStripMenuItem,
     this._showISpy100PercentOpacityToolStripMenuItem,
     this._helpToolstripMenuItem,
     this._websiteToolstripMenuItem,
     this._exitToolStripMenuItem});
     this._ctxtTaskbar.Name = "_ctxtMnu";
     this._ctxtTaskbar.Size = new System.Drawing.Size(219, 224);
     this._ctxtTaskbar.Opening += new System.ComponentModel.CancelEventHandler(this.CtxtTaskbarOpening);
     //
     // _unlockToolstripMenuItem
     //
     this._unlockToolstripMenuItem.Image = global::iSpyServer.Properties.Resources.unlock;
     this._unlockToolstripMenuItem.Name = "_unlockToolstripMenuItem";
     this._unlockToolstripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._unlockToolstripMenuItem.Text = "&Unlock";
     this._unlockToolstripMenuItem.Click += new System.EventHandler(this.UnlockToolstripMenuItemClick);
     //
     // _switchAllOnToolStripMenuItem
     //
     this._switchAllOnToolStripMenuItem.Name = "_switchAllOnToolStripMenuItem";
     this._switchAllOnToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._switchAllOnToolStripMenuItem.Text = "Switch All On";
     this._switchAllOnToolStripMenuItem.Click += new System.EventHandler(this.SwitchAllOnToolStripMenuItemClick);
     //
     // _switchAllOffToolStripMenuItem
     //
     this._switchAllOffToolStripMenuItem.Name = "_switchAllOffToolStripMenuItem";
     this._switchAllOffToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._switchAllOffToolStripMenuItem.Text = "Switch All Off";
     this._switchAllOffToolStripMenuItem.Click += new System.EventHandler(this.SwitchAllOffToolStripMenuItemClick);
     //
     // _showToolstripMenuItem
     //
     this._showToolstripMenuItem.Image = global::iSpyServer.Properties.Resources.active;
     this._showToolstripMenuItem.Name = "_showToolstripMenuItem";
     this._showToolstripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._showToolstripMenuItem.Text = "&Show iSpy";
     this._showToolstripMenuItem.Click += new System.EventHandler(this.ShowToolstripMenuItemClick);
     //
     // _showISpy10PercentOpacityToolStripMenuItem
     //
     this._showISpy10PercentOpacityToolStripMenuItem.Name = "_showISpy10PercentOpacityToolStripMenuItem";
     this._showISpy10PercentOpacityToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._showISpy10PercentOpacityToolStripMenuItem.Text = "Show iSpy @ 10% opacity";
     this._showISpy10PercentOpacityToolStripMenuItem.Click += new System.EventHandler(this.ShowISpy10PercentOpacityToolStripMenuItemClick);
     //
     // _showISpy30OpacityToolStripMenuItem
     //
     this._showISpy30OpacityToolStripMenuItem.Name = "_showISpy30OpacityToolStripMenuItem";
     this._showISpy30OpacityToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._showISpy30OpacityToolStripMenuItem.Text = "Show iSpy @ 30% opacity";
     this._showISpy30OpacityToolStripMenuItem.Click += new System.EventHandler(this.ShowISpy30OpacityToolStripMenuItemClick);
     //
     // _showISpy100PercentOpacityToolStripMenuItem
     //
     this._showISpy100PercentOpacityToolStripMenuItem.Name = "_showISpy100PercentOpacityToolStripMenuItem";
     this._showISpy100PercentOpacityToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._showISpy100PercentOpacityToolStripMenuItem.Text = "Show iSpy @ 100 % opacity";
     //
     // _helpToolstripMenuItem
     //
     this._helpToolstripMenuItem.Name = "_helpToolstripMenuItem";
     this._helpToolstripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._helpToolstripMenuItem.Text = "&Help";
     this._helpToolstripMenuItem.Click += new System.EventHandler(this.HelpToolstripMenuItemClick);
     //
     // _websiteToolstripMenuItem
     //
     this._websiteToolstripMenuItem.Image = global::iSpyServer.Properties.Resources.web;
     this._websiteToolstripMenuItem.Name = "_websiteToolstripMenuItem";
     this._websiteToolstripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._websiteToolstripMenuItem.Text = "&Website";
     this._websiteToolstripMenuItem.Click += new System.EventHandler(this.WebsiteToolstripMenuItemClick);
     //
     // _exitToolStripMenuItem
     //
     this._exitToolStripMenuItem.Name = "_exitToolStripMenuItem";
     this._exitToolStripMenuItem.Size = new System.Drawing.Size(218, 22);
     this._exitToolStripMenuItem.Text = "Exit";
     this._exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick);
     //
     // _statusStrip1
     //
     this._statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._tsslStats});
     this._statusStrip1.Location = new System.Drawing.Point(0, 824);
     this._statusStrip1.Name = "_statusStrip1";
     this._statusStrip1.Size = new System.Drawing.Size(1015, 22);
     this._statusStrip1.TabIndex = 0;
     //
     // _tsslStats
     //
     this._tsslStats.Name = "_tsslStats";
     this._tsslStats.Size = new System.Drawing.Size(59, 17);
     this._tsslStats.Text = "Loading...";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize = new System.Drawing.Size(1015, 846);
     this.ContextMenuStrip = this._ctxtTaskbar;
     this.Controls.Add(this._pnlCameras);
     this.Controls.Add(this._toolStrip1);
     this.Controls.Add(this._statusStrip1);
     this.HelpButton = true;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize = new System.Drawing.Size(0, 180);
     this.Name = "MainForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "iSpyServer";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.MainFormHelpButtonClicked);
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing1);
     this.Load += new System.EventHandler(this.MainFormLoad);
     this.Resize += new System.EventHandler(this.MainFormResize);
     this._ctxtMainForm.ResumeLayout(false);
     this._toolStrip1.ResumeLayout(false);
     this._toolStrip1.PerformLayout();
     this._ctxtMnu.ResumeLayout(false);
     this._ctxtTaskbar.ResumeLayout(false);
     this._statusStrip1.ResumeLayout(false);
     this._statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 10
0
 /// <summary>
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.tooltip = new System.Windows.Forms.ToolTip(this.components);
     this.scrollTimer = new System.Timers.Timer();
     this.reflowTimer = new System.Windows.Forms.Timer(this.components);
     this.quickFixMenu = new System.Windows.Forms.ContextMenu();
     this.menuQuickFixDelete = new System.Windows.Forms.MenuItem();
     this.menuQuickFixWrap = new System.Windows.Forms.MenuItem();
     this.menuQuickFixChange = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).BeginInit();
     //
     // tooltip
     //
     this.tooltip.AutomaticDelay = 0;
     //
     // scrollTimer
     //
     this.scrollTimer.SynchronizingObject = this;
     this.scrollTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.ScrollTimerFire);
     //
     // reflowTimer
     //
     this.reflowTimer.Interval = 200;
     this.reflowTimer.Tick += new System.EventHandler(this.reflowTimer_Tick);
     //
     // quickFixMenu
     //
     this.quickFixMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                  this.menuQuickFixChange,
                                                                                  this.menuQuickFixWrap,
                                                                                  this.menuQuickFixDelete});
     //
     // menuQuickFixDelete
     //
     this.menuQuickFixDelete.Index = 2;
     this.menuQuickFixDelete.Text = "&Delete";
     //
     // menuQuickFixWrap
     //
     this.menuQuickFixWrap.Index = 1;
     this.menuQuickFixWrap.Text = "&Surround With";
     //
     // menuQuickFixChange
     //
     this.menuQuickFixChange.Index = 0;
     this.menuQuickFixChange.Text = "&Change To";
     //
     // XEditNetCtrl
     //
     this.BackColor = System.Drawing.Color.White;
     this.Name = "XEditNetCtrl";
     this.Size = new System.Drawing.Size(376, 248);
     ((System.ComponentModel.ISupportInitialize)(this.scrollTimer)).EndInit();
 }