Exemplo n.º 1
0
        public formCoinMP()
        {
            int           result;
            int           length;
            double        version;
            StringBuilder solverName = new StringBuilder(100);

            InitializeComponent();

            result  = CoinMP.CoinInitSolver("");
            length  = CoinMP.CoinGetSolverNameBuf(solverName, solverName.Capacity);
            version = CoinMP.CoinGetVersion();

            LogHandler.EmptyText(txtLog);
            LogHandler.WriteLine(txtLog, "Solver: " + solverName);
            LogHandler.WriteLine(txtLog, "Version: " + version);
        }
Exemplo n.º 2
0
 private void btnClear_Click(object sender, EventArgs e)
 {
     LogHandler.EmptyText(txtLog);
 }