Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Pismo.velikostPisma(cbVelikostPisma);
            Pismo.typPisma(cbPismo);
            Font m = new Font("Arial", 12, FontStyle.Regular);

            rtbDokument.SelectionFont = m;
            tsProgBar.Value           = 50;
        }
Beispiel #2
0
        private void toolStripButton8_Click(object sender, EventArgs e)
        {
            //button se chová jako checkbox
            if (underline == false)
            {
                underline = true;
            }
            else
            {
                underline = false;
            }

            Pismo.zmenaPisma(cbPismo, cbVelikostPisma, rtbDokument, bold, italic, underline);
        }
Beispiel #3
0
 private void cbPismo_SelectedIndexChanged(object sender, EventArgs e)
 {
     Pismo.zmenaPisma(cbPismo, cbVelikostPisma, rtbDokument, bold, italic, underline);
 }