Esempio n. 1
0
        private void trackBarChooseFormat_ValueChanged(object sender, EventArgs e)
        {
            Format format = new Format();

            labelFormarMM.Text = format.FindFormatMM(trackBarChooseFormat.Value.ToString(),
                                                     comboBoxChooseFormat.Text.ToString());
        }
Esempio n. 2
0
        private void comboBoxChooseFormat_SelectedIndexChanged(object sender, EventArgs e)
        {
            Format format = new Format();

            format.EditLableFormat(labelFormat3.ToString(), labelFormat4.ToString(), labelFormat5.ToString(),
                                   labelFormat6.ToString(), comboBoxChooseFormat.ToString());
            format.FindFormatMM();
        }
Esempio n. 3
0
        private void trackBarChooseFormat_ValueChanged(object sender, EventArgs e)
        {
            //создание экземпляра класса
            Format find = new Format();

            find.EditLableFormat(labelFormat3.ToString(), labelFormat4.ToString(),
                                 labelFormat5.ToString(), labelFormat6.ToString(), comboBoxChooseFormat.ToString());
            labelFormarMM.Text = find.FindFormatMM(comboBoxChooseFormat.SelectedIndex.ToString(),
                                                   comboBoxChooseFormat.ToString());
        }