Ejemplo n.º 1
0
 private void ThisAddIn_Startup(object sender, System.EventArgs e)
 {
     //getActiveWorksheet();
     MyRibbon.setCharacteristics();
     MyRibbon.setUrl1("http://127.0.0.1:5000/classify/xcells/api/v0.2/tasks");
     MyRibbon.setUrl2("http://127.0.0.1:5000/classify/xcells/api/v0.2/tasks/run/");
 }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            string userInput1 = textBox1.Text;

            Debug.WriteLine("userInput e " + userInput1);

            //setCharacteristics(userInput1);
            setCharacteristics();

            string userInput2 = textBox2.Text;

            Debug.WriteLine("userInput e " + userInput2);
            //MyRibbon.RunAsync(userInput1, userInput2).Wait();
            MyRibbon.setUrl1(userInput1);
            MyRibbon.setUrl2(userInput2);
        }