示例#1
0
文件: Form1.cs 项目: asf-artur/TI1
        private void Form1_Load(object sender, EventArgs e)
        {
            var expertCount  = 2;
            var columnsNames = "Эксперты Терм [160,165) [165,170)".Split().ToList();

            calcObject = new ExpertZhopa()
            {
                ExpertCount        = expertCount,
                ConstructionMethod = ConstructionMethod.First,
                TermList           = new List <string>()
                {
                    "Низкий", "Высокий"
                },
                TermValueList = columnsNames
            };
            FormObjectClass.DataGridView = dataGridView1;
            FormObjectClass.Form1        = this;
            FormObjectClass.Panel        = panel1;
            FormObjectClass.ExpertZhopa  = calcObject;
            FormObjectClass.GenerateList();
            FormObjectClass.SetFromObjectProps();
        }
示例#2
0
文件: Form1.cs 项目: asf-artur/TI1
 private void Form1_ResizeEnd(object sender, EventArgs e)
 {
     FormObjectClass.SetFromObjectProps();
 }