示例#1
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();
        }
示例#2
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());
        }