private void button1_Click(object sender, EventArgs e) { try { string executeMethod = _python.ExecuteMethod(methodName.Text); MessageBox.Show(executeMethod); } catch (Exception) { MessageBox.Show("Nu exista bla"); } }
private static void Main(string[] args) { var interopDemo = new InteropDemo(); interopDemo.ExecuteMethod("Sarmale"); }
private static void Main(string[] args) { var interopDemo = new InteropDemo(); interopDemo.ExecuteMethod("Sarmale"); }