private void TSxTrade_Load(object sender, EventArgs e) { comboBox1.Items.Add("Contoso Ltd"); comboBox1.Items.Add("Forest Park FX"); comboBox1.Items.Add("ONECHAIN: Will Zhang"); comboBox1.SelectedIndex = 0; comboBox1.ForeColor = TSx.m_buttonForeColor; //Color.White; comboBox1.BackColor = Color.Black; // TSx.m_buttonBackColor; comboBox1.DrawItem += new DrawItemEventHandler(comboBox1_DrawItem); comboBox1.FlatStyle = FlatStyle.Flat; if (Assembly.GetEntryAssembly() != null) { m_img = new TSxImages(); pictureBox1.Image = m_img.Resize(m_img.m_fake_orders, pictureBox1.Width, pictureBox1.Height); } }
private void loadImages() { m_img = new TSxImages(); askButton.Image = m_img.m_copy_white; twoButton.Image = m_img.m_copy_white; bidButton.Image = m_img.m_copy_white; foreach (Button b in m_marketButtons) { iconUpdate(b, MarketButtonState.MarketActive); } if (m_buttonMode == MarketButtonMode.RadioButtonMode) { radioClick(m_marketButtons[0]); } }
private void loadImages() { m_img = new TSxImages(); }