Exemplo n.º 1
0
 private void GetInfo()
 {
     if (m_state == null)
     {
         return;
     }
     m_Alg   = m_state.CharAlg;
     m_Class = m_state.CharClass;
     m_Race  = m_state.CharRace;
 }
Exemplo n.º 2
0
        private void CmbAlg_VisibleChanged(object sender, EventArgs e)
        {
            WizComboBox w = (WizComboBox)sender;

            if (w.SelectedIndex >= 0)
            {
                WIZALG r = (WIZALG)w.SelectedIndex;
                if (m_Alg != r)
                {
                    m_Alg = r;
                    SetInfo();
                    this.Invalidate();
                }
            }
            WizComboBox.MeDelete(this.Parent.Controls, w);
        }