資源簡介
可用于顯示股票K線,成交量,趨勢圖,包含50個指標,26個畫線工具,使用方便,代碼開源,可以隨意修改。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
using?System.Drawing.Drawing2D;
using?System.IO;
using?System.Threading;
namespace?LobsterMonitor
{
????public?partial?class?baseForm?:?Form
????{
????????public?baseForm()
????????{
????????????InitializeComponent();
????????????this.menuBar.MouseDown?+=?new?MouseEventHandler(menuBar_MouseDown);
????????????this.menuBar.MouseDoubleClick?+=?new?MouseEventHandler(menuBar_MouseDoubleClick);
????????????this.lblMin.Paint?+=?new?PaintEventHandler(lblMin_Paint);
????????????this.lblMax.Paint?+=?new?PaintEventHandler(lblMax_Paint);
????????????this.lblClose.Paint?+=?new?PaintEventHandler(lblClose_Paint);
????????????this.lblMin.MouseMove+=new?MouseEventHandler(button_MouseMove);
????????????this.lblMin.MouseLeave+=new?EventHandler(button_MouseLeave);
????????????this.lblMax.MouseMove?+=?new?MouseEventHandler(button_MouseMove);
????????????this.lblMax.MouseLeave?+=?new?EventHandler(button_MouseLeave);
????????????this.lblClose.MouseMove?+=?new?MouseEventHandler(button_MouseMove);
????????????this.lblClose.MouseLeave?+=?new?EventHandler(button_MouseLeave);
????????????this.lblMin.MouseDown?+=?new?MouseEventHandler(lblMin_MouseDown);
????????????this.lblMax.MouseDown?+=?new?MouseEventHandler(lblMax_MouseDown);
????????????this.lblClose.MouseDown?+=?new?MouseEventHandler(lblClose_MouseDown);
????????????this.Paint?+=?new?PaintEventHandler(CustomForm_Paint);
????????????this.Resize?+=?new?EventHandler(CustomForm_Resize);
????????????this.MouseDown+=new?MouseEventHandler(CustomForm_MouseDown);
????????????this.MouseUp?+=?new?MouseEventHandler(CustomForm_MouseUp);
????????????this.MouseMove+=new?MouseEventHandler(CustomForm_MouseMove);
????????????this.MouseLeave+=new?EventHandler(CustomForm_MouseLeave);
????????????//設置最大化的尺寸
????????????this.MaximumSize?=?new?Size(Screen.GetWorkingArea(this).Width?Screen.GetWorkingArea(this).Height);
????????????this.Resize?+=?new?EventHandler(baseForm_Resize);
????????????//設置最小化的尺寸
????????????this.MinimumSize?=?new?Size(200?100);
????????????setTaskBarMenu();
????????????currentWindowState?=?this.WindowState;
????????}
????????private?void?baseForm_Resize(object?sender?EventArgs?e)
????????{
????????????this.lblMin.Location?=?new?Point(this.Width?-?78?3);
????????????this.lblMax.Location?=?new?Point(this.Width?-?53?3);
????????????this.lblClose.Location?=?new?Point(this.Width?-?28?3);
????????}
????????///?
????????///?Get?the?GraphicsPath?by?cornerRadius?and?Rectangle.
????????///?
????????///?
????????///?
????????///?
????????public?GraphicsPath?GetGraphicsPath(int?cornerRadius?Rectangle?rect)
????????{
????????????GraphicsPath?roundedRect?=?new?Gra
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????23772??2016-05-10?16:34??LobsterNet\Common\LbCommon.cs
?????文件????????252??2016-05-10?09:07??LobsterNet\Enums\Barst
?????文件????????246??2016-05-10?09:07??LobsterNet\Enums\Candlest
?????文件????????249??2010-09-18?15:43??LobsterNet\Enums\Decimalst
?????文件????????906??2016-05-10?16:22??LobsterNet\Enums\IndicatorType.cs
?????文件????????382??2010-09-10?16:03??LobsterNet\Enums\Markst
?????文件????????901??2010-09-13?17:22??LobsterNet\Enums\PlotType.cs
?????文件????????348??2010-09-10?16:03??LobsterNet\Enums\ScrollType.cs
?????文件????????278??2010-09-10?16:03??LobsterNet\Enums\ShapeType.cs
?????文件????????179??2011-06-13?17:08??LobsterNet\Enums\XScaleType.cs
?????文件??????14642??2016-05-10?16:34??LobsterNet\Ind\ba
?????文件???????7157??2016-05-10?10:28??LobsterNet\Ind\IndicatorAccumulationSwingIndex.cs
?????文件???????8471??2016-05-10?10:28??LobsterNet\Ind\IndicatorADTM.cs
?????文件???????5551??2016-05-10?10:28??LobsterNet\Ind\IndicatorAverageTrueRange.cs
?????文件???????4636??2016-05-10?10:28??LobsterNet\Ind\IndicatorBIAS.cs
?????文件???????5752??2016-05-10?10:28??LobsterNet\Ind\IndicatorBollingerBands.cs
?????文件???????5795??2016-05-10?10:28??LobsterNet\Ind\IndicatorBullandBearIndex.cs
?????文件???????7926??2016-05-10?10:28??LobsterNet\Ind\IndicatorChaikinOscillator.cs
?????文件???????5919??2016-05-10?10:28??LobsterNet\Ind\IndicatorCommodityChannelIndex.cs
?????文件???????5763??2016-05-10?10:28??LobsterNet\Ind\IndicatorDetrendedPriceOscillator.cs
?????文件???????6370??2016-05-10?10:28??LobsterNet\Ind\IndicatorDifferentOfMovingAverage.cs
?????文件??????11715??2016-05-10?10:28??LobsterNet\Ind\IndicatorDirectionalMovementIndex.cs
?????文件???????8978??2016-05-10?10:28??LobsterNet\Ind\IndicatorDirectionDeviationIndex.cs
?????文件???????4123??2016-05-10?10:28??LobsterNet\Ind\IndicatorExponentialMovingAverage.cs
?????文件???????6630??2016-05-10?10:28??LobsterNet\Ind\IndicatorLWR.cs
?????文件???????7507??2016-05-10?10:28??LobsterNet\Ind\IndicatorMACD.cs
?????文件???????6668??2016-05-10?10:28??LobsterNet\Ind\IndicatorMassIndex.cs
?????文件???????4950??2016-05-10?10:28??LobsterNet\Ind\IndicatorMomentumIndex.cs
?????文件???????4077??2016-05-10?10:28??LobsterNet\Ind\IndicatorMovingAverage.cs
?????文件???????5616??2016-05-10?10:28??LobsterNet\Ind\IndicatorNegativeVolumeIndex.cs
............此處省略142個文件信息
評論
共有 條評論