示例#1
0
        public System.Windows.Forms.DialogResult ShowDialog(IWin32Window owner, List <Scale> chrds, frmFretBoard frm)
        {
            m_boardChords = chrds;
            m_fretBoard   = frm;

            return(this.ShowDialog(owner));
        }
示例#2
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            this.LoadScalesAndChords();
            //this.InitListBoxes();
            m_scaleEditor = new frmScaleEditor(this.m_scales);
            m_chordEditor = new frmChordEditor(this.m_chords);
            var ff = new frmFretBoard(m_scaleEditor, m_chordEditor);

            ff.MdiParent = this;
            ff.Visible   = true;
        }
示例#3
0
 public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner, List <Scale> sc, frmFretBoard frm)
 {
     m_boardScales = sc;
     m_fretBoard   = frm;
     lstBoardScales.Items.Clear();
     foreach (Scale s in m_boardScales)
     {
         lstBoardScales.Items.Add(s);
     }
     return(this.ShowDialog(owner));
 }