コード例 #1
0
 public ConfigurationForm()
 {
     eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
     // ISSUE: explicit constructor call
     base.\u002Ector();
     this.JKXV3aLwJM();
     this.yX4VEMYZg2 = Framework.Configuration;
     this.xyKR3EoNCR.SelectedObject = (object)Framework.Installation;
     this.VNvRTbRacf.SelectedObject = (object)Framework.Configuration;
     this.YKMRZiZx4j.SelectedObject = (object)new HmDaRnJpjsxWFcPgrt();
     foreach (Reference reference in (ReadOnlyCollectionBase)this.yX4VEMYZg2.References)
     {
         this.twFVrby9l0(reference);
     }
     foreach (Plugin plugin in (ReadOnlyCollectionBase)this.yX4VEMYZg2.Plugins)
     {
         this.zggVqt1coG(plugin);
     }
     this.yX4VEMYZg2.ReferenceAdded          += new ReferenceEventHandler(this.NLSVXtyAfn);
     this.yX4VEMYZg2.ReferenceRemoved        += new ReferenceEventHandler(this.oBBVKrJEAC);
     this.yX4VEMYZg2.ReferenceEnabledChanged += new ReferenceEventHandler(this.YoTVmRp19X);
     this.yX4VEMYZg2.PluginAdded             += new PluginEventHandler(this.c15VwwamEb);
     this.yX4VEMYZg2.PluginRemoved           += new PluginEventHandler(this.rySV06yZ7L);
     this.yX4VEMYZg2.PluginEnabledChanged    += new PluginEventHandler(this.wCZVpCvvsY);
     this.Text = string.Format(RNaihRhYEl0wUmAftnB.aYu7exFQKN(15218), (object)Framework.Installation.MainProduct);
 }
コード例 #2
0
        private void WYPVtAjyC2([In] object obj0, [In] EventArgs obj1)
        {
            ArrayList arrayList = new ArrayList();

            foreach (PluginViewItem pluginViewItem in this.xyNRLeQtYj.SelectedItems)
            {
                arrayList.Add((object)pluginViewItem.Plugin);
            }
            if (arrayList.Count <= 0 || MessageBox.Show(RNaihRhYEl0wUmAftnB.aYu7exFQKN(17586), RNaihRhYEl0wUmAftnB.aYu7exFQKN(17674), MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
            {
                return;
            }
            foreach (Plugin plugin in arrayList)
            {
                if (plugin.AssemblyName == RNaihRhYEl0wUmAftnB.aYu7exFQKN(17692))
                {
                    int num = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(17738) + plugin.TypeName, "", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                }
                else
                {
                    this.yX4VEMYZg2.RemovePlugin(plugin);
                }
            }
            int num1 = (int)MessageBox.Show(RNaihRhYEl0wUmAftnB.aYu7exFQKN(17804) + Environment.NewLine + RNaihRhYEl0wUmAftnB.aYu7exFQKN(17950), RNaihRhYEl0wUmAftnB.aYu7exFQKN(18056), MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
        }
コード例 #3
0
        private void fZiVZGmNGW([In] object obj0, [In] ItemCheckEventArgs obj1)
        {
            if (this.NO5VQsv49U)
            {
                return;
            }
            Plugin plugin = (this.xyNRLeQtYj.Items[obj1.Index] as PluginViewItem).Plugin;

            if (plugin.AssemblyName == RNaihRhYEl0wUmAftnB.aYu7exFQKN(16590))
            {
                if (obj1.NewValue != CheckState.Unchecked)
                {
                    return;
                }
                obj1.NewValue = CheckState.Checked;
            }
            else
            {
                plugin.Enabled = obj1.NewValue == CheckState.Checked;
                if (!plugin.Enabled || plugin.Loaded || MessageBox.Show(RNaihRhYEl0wUmAftnB.aYu7exFQKN(16636), RNaihRhYEl0wUmAftnB.aYu7exFQKN(16718), MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
                {
                    return;
                }
                Framework.LoadPlugin(plugin);
            }
        }
コード例 #4
0
        private void CI5lMjAEWw([In] int obj0)
        {
            if (this.WWml9RPrxc != -1)
            {
                if (obj0 == 1)
                {
                    this.sTnli5yEeE[this.WWml9RPrxc].BeforeNext();
                }
                if (obj0 == -1)
                {
                    this.sTnli5yEeE[this.WWml9RPrxc].BeforeBack();
                }
            }
            this.WWml9RPrxc += obj0;
            WizardPage wizardPage = this.sTnli5yEeE[this.WWml9RPrxc];
            int        width      = wizardPage.Width + SystemInformation.FixedFrameBorderSize.Width * 2;
            int        height     = wizardPage.Height + this.cZ5lOa3TSP.Height + SystemInformation.CaptionHeight + SystemInformation.FixedFrameBorderSize.Height * 2;

            this.DesktopBounds = new Rectangle((Screen.PrimaryScreen.Bounds.Width - width) / 2, (Screen.PrimaryScreen.Bounds.Height - height) / 2, width, height);
            this.Text          = RNaihRhYEl0wUmAftnB.aYu7exFQKN(21736) + (this.WWml9RPrxc + 1).ToString() + RNaihRhYEl0wUmAftnB.aYu7exFQKN(21782) + this.sTnli5yEeE.Length.ToString() + RNaihRhYEl0wUmAftnB.aYu7exFQKN(21794) + wizardPage.Title;
            wizardPage.BeforeLoad();
            this.QOtlaSYM9P.Controls.Clear();
            this.QOtlaSYM9P.Controls.Add((Control)wizardPage);
            this.p02lJwUg3d();
        }
コード例 #5
0
ファイル: DefragmentForm.cs プロジェクト: zhuzhenping/FreeOQ
 private void BAexn754WI()
 {
     try
     {
         this.yEyxyJy3ij.Defragment(this.esyx8DkDkU.Checked ? (int)this.jA5xrJtsOJ.Value : -1, this.VYuxCno5Zm.Checked ? (int)this.WrxxqhtuDd.Value : -1);
     }
     catch (Exception ex)
     {
         this.opsxfwLCyG(((object)ex).ToString());
     }
     finally
     {
         this.yEyxyJy3ij.SeriesDefragmentStarted  -= new SeriesEventHandler(this.GPyx7YwQbU);
         this.yEyxyJy3ij.SeriesDefragmentFinished -= new SeriesEventHandler(this.y7XxLtDJDU);
         this.yEyxyJy3ij.DefragmentCancelRequest  -= new DefragmentCancelEventHandler(this.vNKxiMwgqA);
         if (this.OO4xGvAMQF)
         {
             this.jbbx9LkaD2(this.gbxx4aoTox, RNaihRhYEl0wUmAftnB.aYu7exFQKN(6618));
         }
         else
         {
             this.jbbx9LkaD2(this.gbxx4aoTox, RNaihRhYEl0wUmAftnB.aYu7exFQKN(6662));
         }
         this.TngxWH0v2N();
         this.A9lxTCqSVI();
         this.R4Yx3UcYaf();
     }
 }
コード例 #6
0
        private void MT0RwTSIlV([In] object obj0, [In] FileEventArgs obj1)
        {
            if (this.InvokeRequired)
            {
                this.Invoke((Delegate) new FileEventHandler(this.MT0RwTSIlV), obj0, (object)obj1);
            }
            else
            {
                FileViewItem fileViewItem = this.IvQR26P3Xa(obj1.File);
                fileViewItem.SetFileStatus(obj1.Status);
                switch (obj1.Status)
                {
                case FileStatus.Importing:
                case FileStatus.Testing:
                    fileViewItem.EnsureVisible();
                    break;

                case FileStatus.DoneOk:
                case FileStatus.DoneError:
                case FileStatus.Aborted:
                    fileViewItem.SetObjectCount(obj1.ObjectCount);
                    break;

                default:
                    throw new ArgumentException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(18688) + ((object)obj1.Status).ToString());
                }
            }
        }
コード例 #7
0
 private void LsAYBqVUCO([In] object obj0, [In] LinkLabelLinkClickedEventArgs obj1)
 {
     if (this.lrWxshXtQ8 == null)
     {
         string fileName = Framework.Installation.HelpDir.FullName + RNaihRhYEl0wUmAftnB.aYu7exFQKN(5882);
         try
         {
             this.lrWxshXtQ8 = Process.Start(fileName);
             this.lrWxshXtQ8.EnableRaisingEvents = true;
             this.lrWxshXtQ8.Exited += new EventHandler(this.mvixeS72lg);
         }
         catch (Exception ex)
         {
             if (SmartQuant.Trace.IsLevelEnabled(SmartQuant.TraceLevel.Error))
             {
                 SmartQuant.Trace.WriteLine(((object)ex).ToString());
             }
             int num = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(5928) + fileName, RNaihRhYEl0wUmAftnB.aYu7exFQKN(5980), MessageBoxButtons.OK, MessageBoxIcon.Hand);
         }
     }
     else
     {
         CustomFormatDialog.GUrYzUGLAo(this.lrWxshXtQ8.MainWindowHandle);
     }
 }
コード例 #8
0
        private void YiXMht6Xbj([In] object obj0, [In] RetrieveVirtualItemEventArgs obj1)
        {
            ListViewItem listViewItem = new ListViewItem(new string[this.LOMMDbeLeH.Count + 2]);

            listViewItem.SubItems[0].Text = obj1.ItemIndex.ToString();
            try
            {
                SmartQuant.Data.IDataObject dataObject;
                if (obj1.ItemIndex == this.KlQMF7RVxb.VirtualListSize - 1)
                {
                    if (this.X3kM1SNaDn == null)
                    {
                        this.X3kM1SNaDn = this.ASnMxoTP6b[obj1.ItemIndex] as SmartQuant.Data.IDataObject;
                    }
                    dataObject = this.X3kM1SNaDn;
                }
                else
                {
                    dataObject = this.ASnMxoTP6b[obj1.ItemIndex] as SmartQuant.Data.IDataObject;
                }
                listViewItem.SubItems[1].Text = dataObject.DateTime.ToString();
                for (int index = 0; index < this.LOMMDbeLeH.Count; ++index)
                {
                    listViewItem.SubItems[index + 2].Text = (this.LOMMDbeLeH[index] as i4bbcTzQMD8sE0b5HS).SsKnATHOMW((object)dataObject);
                }
            }
            catch (Exception ex)
            {
                for (int index = 0; index < this.LOMMDbeLeH.Count; ++index)
                {
                    listViewItem.SubItems[index + 2].Text = RNaihRhYEl0wUmAftnB.aYu7exFQKN(31566);
                }
            }
            obj1.Item = listViewItem;
        }
コード例 #9
0
 private void QrVMSZjXN0([In] object obj0, [In] EventArgs obj1)
 {
     if (!this.ElZM5QiWFt.IsConnected)
     {
         int num = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(32842), RNaihRhYEl0wUmAftnB.aYu7exFQKN(32956), MessageBoxButtons.OK, MessageBoxIcon.Hand);
     }
     else
     {
         this.xohMqXQHT2 = 0;
         this.Av6MXcQF5Z.Items.Clear();
         this.jA3M607Con(false);
         Application.DoEvents();
         FIXSecurityDefinitionRequest request = (int)this.ElZM5QiWFt.Id != 19 ? new FIXSecurityDefinitionRequest(string.Format(RNaihRhYEl0wUmAftnB.aYu7exFQKN(32992), (object)DateTime.Now), 3) : new FIXSecurityDefinitionRequest(RNaihRhYEl0wUmAftnB.aYu7exFQKN(32986), 3);
         if (this.wIGMz4YMIr.Checked)
         {
             request.SecurityType = (this.YqjMvRa8WX.SelectedItem as xtIARG15FVeBWx5vnA).HDSsSY5eSi();
         }
         if (this.C7NJeK5mMK.Checked)
         {
             request.SecurityExchange = this.mM8Mo52OWa.Text.Trim();
         }
         if (this.cr5JhTbkcv.Checked)
         {
             request.Symbol = this.pcQMPgbCUZ.Text.Trim();
         }
         this.ElZM5QiWFt.SendSecurityDefinitionRequest(request);
     }
 }
コード例 #10
0
ファイル: DownloadForm.cs プロジェクト: zhuzhenping/FreeOQ
        private bool FgnkHl3Y97()
        {
            string text = (string)null;

            if (this.vY9kUsI2Ej.Items.Count == 0)
            {
                text = RNaihRhYEl0wUmAftnB.aYu7exFQKN(20938);
            }
            else if (this.j4UkPEuPyL.SelectedIndex == -1)
            {
                text = RNaihRhYEl0wUmAftnB.aYu7exFQKN(20996);
            }
            else if (this.CuMkNNYEDG.Value.Date < this.Nk6ktIV1Ba.Value.Date)
            {
                text = RNaihRhYEl0wUmAftnB.aYu7exFQKN(21050);
            }
            if (text == null && (HistoricalDataType)this.j4UkPEuPyL.SelectedItem == HistoricalDataType.Bar)
            {
                long result = 0L;
                if (!long.TryParse(this.UkjlhoxVlP.Text, out result))
                {
                    text = RNaihRhYEl0wUmAftnB.aYu7exFQKN(21140);
                }
            }
            if (text != null)
            {
                int num = (int)MessageBox.Show((IWin32Window)this, text, "", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            return(text == null);
        }
コード例 #11
0
 private void a26MewQeye()
 {
     this.KlQMF7RVxb.VirtualListSize = 0;
     this.KlQMF7RVxb.Columns.Clear();
     if (this.ASnMxoTP6b == null || this.ASnMxoTP6b.Count <= 0)
     {
         return;
     }
     this.KlQMF7RVxb.VirtualListSize = this.ASnMxoTP6b.Count;
     this.KlQMF7RVxb.Columns.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(31540), 30, HorizontalAlignment.Left);
     this.KlQMF7RVxb.Columns.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(31546), 130, HorizontalAlignment.Left);
     this.LOMMDbeLeH = new ArrayList();
     foreach (PropertyInfo propertyInfo in this.ASnMxoTP6b[0].GetType().GetProperties())
     {
         object[] customAttributes = propertyInfo.GetCustomAttributes(typeof(ViewAttribute), true);
         if (customAttributes.Length > 0)
         {
             ViewAttribute viewAttribute = customAttributes[0] as ViewAttribute;
             string        name          = propertyInfo.Name;
             string        str           = viewAttribute is PriceViewAttribute ? this.XymMdYIa1B : (string)null;
             this.KlQMF7RVxb.Columns.Add(name, 75, HorizontalAlignment.Right);
             this.LOMMDbeLeH.Add((object)new i4bbcTzQMD8sE0b5HS(str, propertyInfo));
         }
     }
 }
コード例 #12
0
        private void L9v1h8QfgX()
        {
            NewSeriesDialog newSeriesDialog = new NewSeriesDialog(this.kvT1dEnNxu.Name);
            bool            flag            = true;

            while (flag)
            {
                switch (newSeriesDialog.ShowDialog((IWin32Window)this))
                {
                case DialogResult.OK:
                    string seriesName = newSeriesDialog.SeriesName;
                    if (this.kvT1dEnNxu.Series.Contains(seriesName))
                    {
                        int num = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(9364), RNaihRhYEl0wUmAftnB.aYu7exFQKN(9452), MessageBoxButtons.OK, MessageBoxIcon.Hand);
                        continue;
                    }
                    else
                    {
                        this.kvT1dEnNxu.Series.Add(seriesName);
                        this.x3xD9PDaqW();
                        flag = false;
                        continue;
                    }

                case DialogResult.Cancel:
                    flag = false;
                    continue;

                default:
                    continue;
                }
            }
        }
コード例 #13
0
ファイル: DownloadForm.cs プロジェクト: zhuzhenping/FreeOQ
 public void SetProvider(IHistoricalDataProvider provider)
 {
     this.tlNlxfyMLv = provider;
     foreach (HistoricalDataType historicalDataType in Enum.GetValues(typeof(HistoricalDataType)))
     {
         if ((provider.DataType & historicalDataType) == historicalDataType)
         {
             this.j4UkPEuPyL.Items.Add((object)historicalDataType);
         }
     }
     if (provider.BarSizes.Length == 0)
     {
         this.UkjlhoxVlP.DropDownStyle = ComboBoxStyle.Simple;
     }
     else
     {
         this.UkjlhoxVlP.DropDownStyle = ComboBoxStyle.DropDownList;
         List <int> list = new List <int>((IEnumerable <int>)provider.BarSizes);
         list.Sort();
         foreach (int num in list)
         {
             this.UkjlhoxVlP.Items.Add((object)num);
         }
     }
     this.ItskcDWUqc.Minimum = 1;
     this.ItskcDWUqc.Value   = 1;
     this.ItskcDWUqc.Maximum = provider.MaxConcurrentRequests != -1 ? provider.MaxConcurrentRequests : 5;
     this.HV3kzfxOak.Text    = this.ItskcDWUqc.Value.ToString();
     this.Text = string.Format(RNaihRhYEl0wUmAftnB.aYu7exFQKN(20846), (object)provider.Name);
 }
コード例 #14
0
ファイル: ImportForm.cs プロジェクト: zhuzhenping/FreeOQ
        private void MtJlmlxoUO([In] object obj0, [In] EventArgs obj1)
        {
            List <string> list = new List <string>();

            if (string.IsNullOrWhiteSpace(this.JFUlwHBGvB()))
            {
                list.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(22734));
            }
            if (this.Instruments.Length == 0)
            {
                list.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(22790));
            }
            if (!this.Trades && !this.Quotes)
            {
                list.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(22852));
            }
            if (list.Count > 0)
            {
                int num1 = (int)MessageBox.Show((IWin32Window)this, string.Join(Environment.NewLine, (IEnumerable <string>)list), RNaihRhYEl0wUmAftnB.aYu7exFQKN(22932), MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            else
            {
                I20N1OILPyx1QZSVBi i20N1OilPyx1QzsvBi = new I20N1OILPyx1QZSVBi();
                i20N1OilPyx1QzsvBi.tp5bpkPf71(this.JFUlwHBGvB(), this.Instruments, this.Trades, this.Quotes, this.BeginTime, this.EndTime);
                int num2 = (int)i20N1OilPyx1QzsvBi.ShowDialog((IWin32Window)this);
                i20N1OilPyx1QzsvBi.Dispose();
                this.Close();
            }
        }
コード例 #15
0
        public static Separator Parse(string displayName)
        {
            string str;

            if ((str = displayName) != null)
            {
                if (str == RNaihRhYEl0wUmAftnB.aYu7exFQKN(30558))
                {
                    return(Separator.Tab);
                }
                if (str == RNaihRhYEl0wUmAftnB.aYu7exFQKN(30568))
                {
                    return(Separator.Comma);
                }
                if (str == RNaihRhYEl0wUmAftnB.aYu7exFQKN(30582))
                {
                    return(Separator.Semicolon);
                }
                if (str == RNaihRhYEl0wUmAftnB.aYu7exFQKN(30604))
                {
                    return(Separator.Space);
                }
            }
            throw new ArgumentException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30618) + displayName);
        }
コード例 #16
0
        private void P8qRCKQ70B()
        {
            switch (this.mffR0pTFbp.State)
            {
            case EngineState.Running:
                this.fvqRt7yS76.Enabled = false;
                this.YC9RE7fOsa.Enabled = true;
                this.gYZRQJ5efI.Enabled = true;
                this.V9tH1RyckD.Enabled = false;
                break;

            case EngineState.Paused:
                this.fvqRt7yS76.Enabled = true;
                this.YC9RE7fOsa.Enabled = false;
                this.gYZRQJ5efI.Enabled = true;
                this.V9tH1RyckD.Enabled = false;
                break;

            case EngineState.Stopped:
                this.fvqRt7yS76.Enabled = true;
                this.YC9RE7fOsa.Enabled = false;
                this.gYZRQJ5efI.Enabled = false;
                this.V9tH1RyckD.Enabled = true;
                break;

            default:
                throw new ArgumentException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(18638) + ((object)this.mffR0pTFbp.State).ToString());
            }
            this.EmitButtonEnabledChanged();
        }
コード例 #17
0
        public void SetError(Template template, ErrorEventArgs args)
        {
            this.gIipe64SM.Text = args.File.FullName;
            this.rfZttgRJX.Text = args.Message;
            this.TA5mQZ64t.Columns.Add(RNaihRhYEl0wUmAftnB.aYu7exFQKN(1328), 60, HorizontalAlignment.Left);
            foreach (Column column in (CollectionBase)template.Columns)
            {
                string text = Column.ToString(column.ColumnType);
                if (column.ColumnFormat != "")
                {
                    text = text + RNaihRhYEl0wUmAftnB.aYu7exFQKN(1344) + column.ColumnFormat + RNaihRhYEl0wUmAftnB.aYu7exFQKN(1352);
                }
                this.TA5mQZ64t.Columns.Add(text, 100, HorizontalAlignment.Center);
            }
            ListViewItem listViewItem = new ListViewItem(args.Row.ToString());

            listViewItem.UseItemStyleForSubItems = false;
            string[] strArray = args.Line.Split((char[])template.CSVOptions.Separator);
            for (int index = 0; index < strArray.Length; ++index)
            {
                listViewItem.SubItems.Add(new ListViewItem.ListViewSubItem()
                {
                    Text      = strArray[index],
                    BackColor = index == args.Column ? Color.Red : listViewItem.BackColor
                });
            }
            this.TA5mQZ64t.Items.Add(listViewItem);
        }
コード例 #18
0
ファイル: NewBarForm.cs プロジェクト: zhuzhenping/FreeOQ
        public NewBarForm()
        {
            eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
            // ISSUE: explicit constructor call
            base.\u002Ector();
            this.VyxhV1QZSV();
            DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo;
            string             str         = string.Format(RNaihRhYEl0wUmAftnB.aYu7exFQKN(2422), (object)currentInfo.ShortDatePattern, (object)currentInfo.LongTimePattern);

            this.eq2hO8Uoby.CustomFormat = str;
            this.i0qhanct4K.CustomFormat = str;
            foreach (BarType barType in Enum.GetValues(typeof(BarType)))
            {
                this.vpShfU52vM.Items.Add((object)barType);
            }
            this.vpShfU52vM.SelectedItem = (object)DataManager.DefaultBarType;
            this.ixLhyvWvAB.Value        = (Decimal)DataManager.DefaultBarSize;
            this.eq2hO8Uoby.Value        = this.xAqhuhiXnb(DataManager.DefaultBarSize);
            if ((BarType)this.vpShfU52vM.SelectedItem == BarType.Time)
            {
                this.Vorhl5jNmr();
            }
            else
            {
                this.i0qhanct4K.Value = this.eq2hO8Uoby.Value;
            }
        }
コード例 #19
0
        public void SetFileStatus(FileStatus status)
        {
            switch (status)
            {
            case FileStatus.Waiting:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12286), 0);
                break;

            case FileStatus.Importing:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12304), 1);
                break;

            case FileStatus.Testing:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12326), 4);
                break;

            case FileStatus.DoneOk:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12344), 2);
                break;

            case FileStatus.DoneError:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12356), 3);
                break;

            case FileStatus.Aborted:
                this.h9kFNwRSkp(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12392), 5);
                break;

            default:
                throw new NotSupportedException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(12410) + ((object)status).ToString());
            }
        }
コード例 #20
0
ファイル: Column.cs プロジェクト: zhuzhenping/FreeOQ
        public static string ToString(ColumnType columnType)
        {
            switch (columnType)
            {
            case ColumnType.AskSize:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30932));

            case ColumnType.Skipped:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30952));

            case ColumnType.BidSize:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30902));

            case ColumnType.Ask:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30922));

            case ColumnType.OpenInt:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30872));

            case ColumnType.Bid:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30892));

            case ColumnType.Close:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30842));

            case ColumnType.Volume:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30856));

            case ColumnType.High:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30820));

            case ColumnType.Low:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30832));

            case ColumnType.Size:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30796));

            case ColumnType.Open:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30808));

            case ColumnType.Symbol:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30722));

            case ColumnType.DateTime:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30738));

            case ColumnType.Date:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30758));

            case ColumnType.Time:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30770));

            case ColumnType.Price:
                return(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30782));

            default:
                throw new ArgumentException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30974) + ((object)columnType).ToString());
            }
        }
コード例 #21
0
 private void s5YdPh21RX([In] object obj0, [In] ToolBarButtonClickEventArgs obj1)
 {
     if (obj1.Button != this.IJOFd6RnLu)
     {
         throw new ArgumentException(RNaihRhYEl0wUmAftnB.aYu7exFQKN(11694));
     }
     this.YO6dBPHlEl();
 }
コード例 #22
0
 static Separator()
 {
     eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
     Separator.Tab       = new Separator(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30662), '\t');
     Separator.Comma     = new Separator(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30672), ',');
     Separator.Semicolon = new Separator(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30686), ';');
     Separator.Space     = new Separator(RNaihRhYEl0wUmAftnB.aYu7exFQKN(30708), ' ');
 }
コード例 #23
0
 public TemplateXmlDocument()
 {
     eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
     // ISSUE: explicit constructor call
     base.\u002Ector();
     this.LoadXml(RNaihRhYEl0wUmAftnB.aYu7exFQKN(14638));
     this.InsertBefore((XmlNode)this.CreateXmlDeclaration(RNaihRhYEl0wUmAftnB.aYu7exFQKN(14688), Encoding.Unicode.HeaderName, (string)null), (XmlNode)this.DocumentElement);
 }
コード例 #24
0
 private void tIsO4DQaI([In] ColumnType obj0, [In] ArrayList obj1)
 {
     if (this.Q9UyPKkpL(obj0) != null)
     {
         return;
     }
     obj1.Add((object)(RNaihRhYEl0wUmAftnB.aYu7exFQKN(638) + ((object)obj0).ToString() + RNaihRhYEl0wUmAftnB.aYu7exFQKN(658)));
 }
コード例 #25
0
ファイル: Engine.cs プロジェクト: zhuzhenping/FreeOQ
 private DateTime sLbY6JtOmJ([In] string obj0, [In] string obj1)
 {
     if (obj1.Length > obj0.Length)
     {
         obj0 = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5508) + obj0;
     }
     return(this.rMuYj3m6MH(obj0, obj1));
 }
コード例 #26
0
        private void vMvDiP1a34()
        {
            TreeNode node = (TreeNode) new ServerNode(RNaihRhYEl0wUmAftnB.aYu7exFQKN(8410), 0, 1);

            this.ehC19bHreh.Nodes.Add(node);
            node.Nodes.Add((TreeNode) new FileNode(this.kvT1dEnNxu, 2));
            node.Nodes[0].ContextMenu    = this.oZN1P7MZNp;
            this.ehC19bHreh.SelectedNode = node.Nodes[0];
        }
コード例 #27
0
        public void SetProvider(IInstrumentProvider provider)
        {
            this.ElZM5QiWFt              = provider;
            provider.SecurityDefinition += new SecurityDefinitionEventHandler(this.tXkMObNhAo);
            SecurityDefinitionListForm definitionListForm = this;
            string str = definitionListForm.Text + RNaihRhYEl0wUmAftnB.aYu7exFQKN(32650) + provider.Name;

            definitionListForm.Text = str;
        }
コード例 #28
0
 public OtherOptions()
 {
     eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
     // ISSUE: explicit constructor call
     base.\u002Ector();
     this.WXexKq6Axo = true;
     this.OCuxmakQXs = false;
     this.GMTxw7BjKI = RNaihRhYEl0wUmAftnB.aYu7exFQKN(6762);
 }
コード例 #29
0
 private void xJVYPgi6w3()
 {
     this.oVjxY6uFNi = new Label();
     this.dsMxxv1x56 = new TextBox();
     this.eLmxDZDYdB = new Button();
     this.Xnyx12pX9y = new Button();
     this.FGQxdMdVcc = new LinkLabel();
     this.SuspendLayout();
     this.oVjxY6uFNi.Location     = new Point(8, 8);
     this.oVjxY6uFNi.Name         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5514);
     this.oVjxY6uFNi.Size         = new Size(216, 40);
     this.oVjxY6uFNi.TabIndex     = 0;
     this.oVjxY6uFNi.Text         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5530);
     this.dsMxxv1x56.Location     = new Point(16, 72);
     this.dsMxxv1x56.Name         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5686);
     this.dsMxxv1x56.Size         = new Size(232, 20);
     this.dsMxxv1x56.TabIndex     = 1;
     this.dsMxxv1x56.Text         = "";
     this.dsMxxv1x56.TextChanged += new EventHandler(this.lRHYA9rr5L);
     this.eLmxDZDYdB.DialogResult = DialogResult.OK;
     this.eLmxDZDYdB.Location     = new Point(40, 104);
     this.eLmxDZDYdB.Name         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5708);
     this.eLmxDZDYdB.Size         = new Size(80, 24);
     this.eLmxDZDYdB.TabIndex     = 2;
     this.eLmxDZDYdB.Text         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5722);
     this.Xnyx12pX9y.DialogResult = DialogResult.Cancel;
     this.Xnyx12pX9y.Location     = new Point(136, 104);
     this.Xnyx12pX9y.Name         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5730);
     this.Xnyx12pX9y.Size         = new Size(80, 24);
     this.Xnyx12pX9y.TabIndex     = 3;
     this.Xnyx12pX9y.Text         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5752);
     this.FGQxdMdVcc.Location     = new Point(184, 48);
     this.FGQxdMdVcc.Name         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5768);
     this.FGQxdMdVcc.Size         = new Size(72, 16);
     this.FGQxdMdVcc.TabIndex     = 4;
     this.FGQxdMdVcc.TabStop      = true;
     this.FGQxdMdVcc.Text         = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5786);
     this.FGQxdMdVcc.LinkClicked += new LinkLabelLinkClickedEventHandler(this.LsAYBqVUCO);
     this.AcceptButton            = (IButtonControl)this.eLmxDZDYdB;
     this.AutoScaleBaseSize       = new Size(5, 13);
     this.CancelButton            = (IButtonControl)this.Xnyx12pX9y;
     this.ClientSize = new Size(266, 143);
     this.Controls.Add((Control)this.FGQxdMdVcc);
     this.Controls.Add((Control)this.Xnyx12pX9y);
     this.Controls.Add((Control)this.eLmxDZDYdB);
     this.Controls.Add((Control)this.dsMxxv1x56);
     this.Controls.Add((Control)this.oVjxY6uFNi);
     this.FormBorderStyle = FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5812);
     this.ShowInTaskbar   = false;
     this.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = RNaihRhYEl0wUmAftnB.aYu7exFQKN(5852);
     this.ResumeLayout(false);
 }
コード例 #30
0
ファイル: NewQuoteForm.cs プロジェクト: zhuzhenping/FreeOQ
        public NewQuoteForm()
        {
            eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
            // ISSUE: explicit constructor call
            base.\u002Ector();
            this.AEvAvTQSK();
            DateTimeFormatInfo currentInfo = DateTimeFormatInfo.CurrentInfo;

            this.E3VhYkiTwQ.CustomFormat = currentInfo.ShortDatePattern + RNaihRhYEl0wUmAftnB.aYu7exFQKN(1734) + currentInfo.LongTimePattern;
        }