Example #1
0
 // *************************************************************************
 public void GetInfo()
 {
     if (m_state != null)
     {
         m_status = m_state.CharStatus;
     }
     this.Invalidate();
 }
Example #2
0
        private void Cmb_VisibleChanged(object sender, EventArgs e)
        {
            if (m_state == null)
            {
                return;
            }
            WizComboBox w = (WizComboBox)sender;

            if (w.SelectedIndex >= 0)
            {
                WIZSTATUS o = m_state.CharStatus;
                WIZSTATUS r = (WIZSTATUS)w.SelectedIndex;

                if (o != r)
                {
                    m_state.CharStatus = r;
                    this.Invalidate();
                }
            }
            WizComboBox.MeDelete(this.Parent.Controls, w);
        }