예제 #1
0
        private void buttonEditFonts_Click(object sender, EventArgs e)
        {
            FontEditor fe = new FontEditor();

            fe.ShowDialog();
            fe.Dispose();
        }
예제 #2
0
파일: EditFonts.cs 프로젝트: d3x0r/xperdex
        void IReflectorPersistance.Properties()
        {
            FontEditor fe = new FontEditor();

            fe.ShowDialog();
            fe.Dispose();
            //throw new Exception( "The method or operation is not implemented." );
        }
예제 #3
0
        private void PickFont_Click(object sender, EventArgs e)
        {
            FontEditor fe = new FontEditor(that.FontTracker);

            fe.ShowDialog();
            if (fe.DialogResult == DialogResult.OK)
            {
                that.FontTracker = fe.GetFontResult();
            }
            fe.Dispose();
        }
예제 #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            FontEditor fe = new FontEditor(FontEditor.GetFontTracker(control.Font));

            fe.ShowDialog();
            if (fe.DialogResult == DialogResult.OK)
            {
                control.Font = fe.GetFontResult();
            }
            fe.Dispose();
        }
예제 #5
0
        private void buttonEditFonts_Click(object sender, EventArgs e)
        {
            FontEditor fe = new FontEditor();

            fe.ShowDialog();
            if (fe.DialogResult == DialogResult.OK)
            {
                listBoxFonts.DataSource = null;
                listBoxFonts.DataSource = FontEditor.fonts;
            }
            fe.Dispose();
        }