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

            fe.ShowDialog();
            fe.Dispose();
        }
示例#2
0
        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();
        }