예제 #1
0
        private void buttonDiagramm_Click(object sender, EventArgs e)
        {
            var cl = new ClassT();

            cl.ID      = 55;
            cl.name    = "ТestClass";
            cl.number1 = 30;
            cl.number2 = 20;
            cl.number3 = 10;
            cl.number4 = 40;
            // pdfDiagrammComponent.createPdfDeiagram<ClassT>("D:/diagramm.pdf", cl, DataLabelType.Percent);
        }
예제 #2
0
        private void backupButton_Click(object sender, EventArgs e)
        {
            ClassT[] arr = new ClassT[10];
            ClassT   cl  = new ClassT();

            cl.name = "1";
            ClassT cl2 = new ClassT();

            cl2.name = "2";
            ClassT cl3 = new ClassT();

            cl3.name = "3";
            arr[1]   = cl;
            arr[2]   = cl2;
            arr[9]   = cl3;
            backupComponent1.saveData <ClassT>("C:/123/2", arr);
        }