コード例 #1
0
        public void fillListCert()
        {
            FSTECFindCertificationProgram FFCPI = new FSTECFindCertificationProgram();

            foreach (SetupProgramDescr pr in ListSetupWidthRelation)
            {
                pr.FFCP = FFCPI;
                pr.setRelation();
            }

            /*   int i = 1;
             * int k = 0;
             * string stolb;
             * excelapp = new Excel.Application();
             * excelapp.Visible = false;
             * excelappworkbooks = excelapp.Workbooks;
             * excelappworkbook = excelapp.Workbooks.Open(Application.StartupPath + @"\template\2.xls",
             *           Type.Missing, true, Type.Missing,
             * "WWWWW", "WWWWW", Type.Missing, Type.Missing, Type.Missing,
             * Type.Missing, Type.Missing, Type.Missing, Type.Missing,
             * Type.Missing, Type.Missing);
             * excelsheets = excelappworkbook.Worksheets;
             * excelworksheet = (Excel.Worksheet)excelsheets.get_Item(1);
             * excelcells = excelworksheet.Cells.Find("q", Missing.Value, Missing.Value, Excel.XlLookAt.xlPart, Missing.Value,
             *    Excel.XlSearchDirection.xlNext,
             *    Missing.Value, Missing.Value, Missing.Value);
             *
             * stolb = Convert.ToString(excelcells.Column);
             * strok = Convert.ToString(excelcells.Rows.Row);
             * System.Windows.Forms.MessageBox.Show(getAdres(Convert.ToInt32(poisk), (Convert.ToInt32(stolb)) - 1));
             * excelapp.Quit();*/
        }
コード例 #2
0
 public SetupCertificationRelation(SetupProgramDescr PS, FSTECFindCertificationProgram FFC)
 {
     PrSetup         = PS;
     FFCP            = FFC;
     RelationProgram = new List <CertifProgramDescr>();
 }
コード例 #3
0
        private void отобразитьСертифицированыеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FSTECFindCertificationProgram CERRider = new FSTECFindCertificationProgram();

            CERRider.getListCert("Windows NT 4.0");
        }