예제 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TestChart;component/Page.xaml", System.UriKind.Relative));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.cmbIndicators            = ((System.Windows.Controls.ComboBox)(this.FindName("cmbIndicators")));
     this.btnAddIndicator          = ((System.Windows.Controls.Button)(this.FindName("btnAddIndicator")));
     this.btnAddBar                = ((System.Windows.Controls.Button)(this.FindName("btnAddBar")));
     this.btnAddTick               = ((System.Windows.Controls.Button)(this.FindName("btnAddTick")));
     this.btnStartTickTimer        = ((System.Windows.Controls.Button)(this.FindName("btnStartTickTimer")));
     this.btnZoomIn                = ((System.Windows.Controls.Button)(this.FindName("btnZoomIn")));
     this.btnZoomOut               = ((System.Windows.Controls.Button)(this.FindName("btnZoomOut")));
     this.btnResetZoom             = ((System.Windows.Controls.Button)(this.FindName("btnResetZoom")));
     this.btnAddCustomIndicator    = ((System.Windows.Controls.Button)(this.FindName("btnAddCustomIndicator")));
     this.btnIntTests              = ((System.Windows.Controls.Button)(this.FindName("btnIntTests")));
     this._stockChartX             = ((ModulusFE.StockChartX)(this.FindName("_stockChartX")));
     this.AccordionItemLineStudies = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemLineStudies")));
     this.cmbLineStudies           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLineStudies")));
     this.colorPicker              = ((ModulusFE.Controls.ColorPicker)(this.FindName("colorPicker")));
     this.btnAddLineStudy          = ((System.Windows.Controls.Button)(this.FindName("btnAddLineStudy")));
     this.AccordionItemChartTools  = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemChartTools")));
     this.btnDeleteCurrentObject   = ((System.Windows.Controls.Button)(this.FindName("btnDeleteCurrentObject")));
     this.btnToggleSideVolumeBars  = ((System.Windows.Controls.Button)(this.FindName("btnToggleSideVolumeBars")));
     this.btnToggleDarvasBoxes     = ((System.Windows.Controls.Button)(this.FindName("btnToggleDarvasBoxes")));
     this.cmbPriceStyles           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbPriceStyles")));
     this.psStandard               = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psStandard")));
     this.psKagi                  = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psKagi")));
     this.psEquiVolume            = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolume")));
     this.psCandleVolume          = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleVolume")));
     this.psEquiVolumeShadow      = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolumeShadow")));
     this.pfPointAndFigure        = ((System.Windows.Controls.ComboBoxItem)(this.FindName("pfPointAndFigure")));
     this.psRenko                 = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psRenko")));
     this.psThreeLineBreak        = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psThreeLineBreak")));
     this.psHeikinAshi            = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psHeikinAshi")));
     this.btnApplyPriceStyle      = ((System.Windows.Controls.Button)(this.FindName("btnApplyPriceStyle")));
     this.btnIndProps             = ((System.Windows.Controls.Button)(this.FindName("btnIndProps")));
     this.btnUserIndicator        = ((System.Windows.Controls.Button)(this.FindName("btnUserIndicator")));
     this.btnSaveAsImage          = ((System.Windows.Controls.Button)(this.FindName("btnSaveAsImage")));
     this.cmbSerType              = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSerType")));
     this.btnSave                 = ((System.Windows.Controls.Button)(this.FindName("btnSave")));
     this.btnLoad                 = ((System.Windows.Controls.Button)(this.FindName("btnLoad")));
     this.AccordionItemOtherTools = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemOtherTools")));
     this.btnSmallDataSetChart    = ((System.Windows.Controls.Button)(this.FindName("btnSmallDataSetChart")));
     this.btnTicket4360           = ((System.Windows.Controls.Button)(this.FindName("btnTicket4360")));
 }
예제 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ModulusFE.StockChartX.SL;component/Controls/ColorDialogInternal.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.canvasOldColor = ((System.Windows.Controls.Canvas)(this.FindName("canvasOldColor")));
     this.canvasnewColor = ((System.Windows.Controls.Canvas)(this.FindName("canvasnewColor")));
     this.colorPicker    = ((ModulusFE.Controls.ColorPicker)(this.FindName("colorPicker")));
     this.btnOK          = ((System.Windows.Controls.Button)(this.FindName("btnOK")));
     this.btnCancel      = ((System.Windows.Controls.Button)(this.FindName("btnCancel")));
 }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.canvasOldColor = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.canvasnewColor = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.colorPicker = ((ModulusFE.Controls.ColorPicker)(target));
                return;

            case 5:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\Controls\ColorDialog.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\Controls\ColorDialog.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TestChart;component/Page.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnRefresh                 = ((System.Windows.Controls.Button)(this.FindName("btnRefresh")));
     this.cmbIndicators              = ((System.Windows.Controls.ComboBox)(this.FindName("cmbIndicators")));
     this.btnAddIndicator            = ((System.Windows.Controls.Button)(this.FindName("btnAddIndicator")));
     this.btnAddBar                  = ((System.Windows.Controls.Button)(this.FindName("btnAddBar")));
     this.btnAddTick                 = ((System.Windows.Controls.Button)(this.FindName("btnAddTick")));
     this.btnStartTickTimer          = ((System.Windows.Controls.Button)(this.FindName("btnStartTickTimer")));
     this.btnZoomIn                  = ((System.Windows.Controls.Button)(this.FindName("btnZoomIn")));
     this.btnZoomOut                 = ((System.Windows.Controls.Button)(this.FindName("btnZoomOut")));
     this.btnResetZoom               = ((System.Windows.Controls.Button)(this.FindName("btnResetZoom")));
     this.btnAddCustomIndicator      = ((System.Windows.Controls.Button)(this.FindName("btnAddCustomIndicator")));
     this.btnMoveLeft                = ((System.Windows.Controls.Button)(this.FindName("btnMoveLeft")));
     this.btnMoveRight               = ((System.Windows.Controls.Button)(this.FindName("btnMoveRight")));
     this._stockChartX               = ((ModulusFE.StockChartX)(this.FindName("_stockChartX")));
     this.cmbLineStudies             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLineStudies")));
     this.colorPicker                = ((ModulusFE.Controls.ColorPicker)(this.FindName("colorPicker")));
     this.btnAddLineStudy            = ((System.Windows.Controls.Button)(this.FindName("btnAddLineStudy")));
     this.btnDeleteCurrentObject     = ((System.Windows.Controls.Button)(this.FindName("btnDeleteCurrentObject")));
     this.btnIndProps                = ((System.Windows.Controls.Button)(this.FindName("btnIndProps")));
     this.btnQuietAddIndicator       = ((System.Windows.Controls.Button)(this.FindName("btnQuietAddIndicator")));
     this.btnSaveAsImage             = ((System.Windows.Controls.Button)(this.FindName("btnSaveAsImage")));
     this.radioButtonLinear          = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonLinear")));
     this.radioButtonSemiLog         = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonSemiLog")));
     this.checkBoxSideVolumeBars     = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxSideVolumeBars")));
     this.checkBoxDarvasBoxes        = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxDarvasBoxes")));
     this.checkBoxTickBox            = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxTickBox")));
     this.checkBoxMouseZoomArea      = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxMouseZoomArea")));
     this.radioButtonInfoPanelMouse  = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelMouse")));
     this.radioButtonInfoPanelFixed  = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelFixed")));
     this.radioButtonInfoPanelHidden = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelHidden")));
     this.cmbPriceStyles             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbPriceStyles")));
     this.psStandard                 = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psStandard")));
     this.psBarChart                 = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psBarChart")));
     this.psLine               = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psLine")));
     this.psBarHLC             = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psBarHLC")));
     this.psCandleChart        = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleChart")));
     this.psKagi               = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psKagi")));
     this.psEquiVolume         = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolume")));
     this.psCandleVolume       = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleVolume")));
     this.psEquiVolumeShadow   = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolumeShadow")));
     this.pfPointAndFigure     = ((System.Windows.Controls.ComboBoxItem)(this.FindName("pfPointAndFigure")));
     this.psRenko              = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psRenko")));
     this.psThreeLineBreak     = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psThreeLineBreak")));
     this.psHeikinAshi         = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psHeikinAshi")));
     this.btnApplyPriceStyle   = ((System.Windows.Controls.Button)(this.FindName("btnApplyPriceStyle")));
     this.cmbSerType           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSerType")));
     this.btnSave              = ((System.Windows.Controls.Button)(this.FindName("btnSave")));
     this.btnLoad              = ((System.Windows.Controls.Button)(this.FindName("btnLoad")));
     this.btnAltStyle          = ((System.Windows.Controls.Button)(this.FindName("btnAltStyle")));
     this.btnStyleInfoPanel    = ((System.Windows.Controls.Button)(this.FindName("btnStyleInfoPanel")));
     this.btnSmallDataSetChart = ((System.Windows.Controls.Button)(this.FindName("btnSmallDataSetChart")));
     this.btnCloseLineChart    = ((System.Windows.Controls.Button)(this.FindName("btnCloseLineChart")));
     this.btnTicket4132        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4132")));
     this.btnTicket4360        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4360")));
     this.btnTicket4489        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4489")));
     this.btnTicket4541        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4541")));
     this.btnTicket4601        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4601")));
     this.btnCalendarV2        = ((System.Windows.Controls.Button)(this.FindName("btnCalendarV2")));
     this.btnTicket4560        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4560")));
     this.btnTicket4580        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4580")));
     this.btnTicket4638        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4638")));
     this.btnTicket4679        = ((System.Windows.Controls.Button)(this.FindName("btnTicket4679")));
 }