Esempio n. 1
0
 public Tuning( GuitarProperties guitar, CustomClass calculatedStuff )
 {
     m_strings = new List<string>();
     m_guitar = guitar;
     m_calculatedStuff = calculatedStuff;
     SetStandardTuning();
 }
Esempio n. 2
0
        public AxeCalc()
        {
            Application.AddMessageFilter( this );
            InitializeComponent();

            m_guitar = new GuitarProperties( this, m_calculatedStuff );
            m_graphicsDrawer = new GraphicsDrawer( m_drawingBox.DisplayRectangle );
            m_properties.SelectedObject = m_guitar;
            m_calcedProperties.SelectedObject = m_calculatedStuff;
            m_properties.PropertyValueChanged += new PropertyValueChangedEventHandler( m_properties_PropertyValueChanged );

            m_drawingBox.MouseWheel += m_drawingBox_MouseWheel;

            m_bassFretChart.DataSource = m_guitar.BassFretDataTable;
            m_trebleFretChart.DataSource = m_guitar.TrebleFretDataTable;
        }