public SystemTips()
 {
     CommonStaticMemeber.LoadStyleFromUserFile();
     this.DataContext = this;
     InitializeComponent();
     //ItemsSource="{Binding SystemMessageCollection}"
 }
예제 #2
0
        public StatusBar()
        {
            CommonStaticMemeber.LoadStyleFromUserFile();
            this.DataContext = this;
            InitializeComponent();
            tbStartTime.Text = DateTime.Now.ToString("HH:mm:ss");

            _ImageJY_CONN = new BitmapImage();
            _ImageJY_CONN.BeginInit();
            _ImageJY_CONN.UriSource = new Uri("/TradingMaster;component/image/JY_Conn.png", UriKind.RelativeOrAbsolute);
            _ImageJY_CONN.EndInit();

            _ImageJY_DISCONN = new BitmapImage();
            _ImageJY_DISCONN.BeginInit();
            _ImageJY_DISCONN.UriSource = new Uri("/TradingMaster;component/image/JY_DISCONN.png", UriKind.RelativeOrAbsolute);
            _ImageJY_DISCONN.EndInit();

            _ImageHQ_CONN = new BitmapImage();
            _ImageHQ_CONN.BeginInit();
            _ImageHQ_CONN.UriSource = new Uri("/TradingMaster;component/image/HQ_Conn.png", UriKind.RelativeOrAbsolute);
            _ImageHQ_CONN.EndInit();

            _ImageHQ_DISCONN = new BitmapImage();
            _ImageHQ_DISCONN.BeginInit();
            _ImageHQ_DISCONN.UriSource = new Uri("/TradingMaster;component/image/HQ_DISCONN.png", UriKind.RelativeOrAbsolute);
            _ImageHQ_DISCONN.EndInit();
        }
        public void Init(MainWindow parent)
        {
            CommonStaticMemeber.LoadStyleFromUserFile();
            this.DataContext = this;
            this._MainWindow = parent;
            //DataGridColumnBridgeUtils.LoadColumnsSettingFromFile(dgMaiConditionOrder, MainWindow.SettingDictionaryPath);

            rbAll.IsChecked = true;
        }
 public LevelsQuotes()
 {
     CommonStaticMemeber.LoadStyleFromUserFile();
     InitializeComponent();
 }
 public TransactionInquiry()
 {
     CommonStaticMemeber.LoadStyleFromUserFile();
     this.DataContext = this;
     InitializeComponent();
 }
예제 #6
0
 public QuoteOrder()
 {
     CommonStaticMemeber.LoadStyleFromUserFile();
     this.DataContext = this;
     InitializeComponent();
 }
예제 #7
0
        //public JYRealData CapitalData { get; set; }

        public CapitalQuery()
        {
            CommonStaticMemeber.LoadStyleFromUserFile();
            this.DataContext = this;
            InitializeComponent();
        }
예제 #8
0
 public OptionExecutionRecord()
 {
     CommonStaticMemeber.LoadStyleFromUserFile();
     this.DataContext = this;
     InitializeComponent();
 }