示例#1
0
文件: Tuning.cs 项目: fearog/axecalc
 public Tuning( GuitarProperties guitar, CustomClass calculatedStuff )
 {
     m_strings = new List<string>();
     m_guitar = guitar;
     m_calculatedStuff = calculatedStuff;
     SetStandardTuning();
 }
示例#2
0
文件: AxeCalc.cs 项目: fearog/axecalc
        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;
        }