Exemplo n.º 1
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtPort.Text) || string.IsNullOrEmpty(txtTomcatRootPath.Text))
            {
                MessageBox.Show("请指定端口号和Tomcat根目录");
            }
            MondrianService service = new MondrianService();

            service.Start(txtTomcatRootPath.Text, txtJREExecuteFileName.Text, txtMondrianRootPath.Text, int.Parse(txtPort.Text));
        }
Exemplo n.º 2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtPort.Text) || string.IsNullOrEmpty(txtTomcatRootPath.Text))
            {
                MessageBox.Show("请指定端口号和Tomcat根目录");
            }
            MondrianService service = new MondrianService();


            service.Start(txtTomcatRootPath.Text, txtJREExecuteFileName.Text, txtMondrianRootPath.Text, int.Parse(txtPort.Text));
        }