public Form1() { InitializeComponent(); m_NBioAPI = new NBioAPI(); m_Export = new NBioAPI.Export(m_NBioAPI); NBioAPI.Type.VERSION ver; m_NBioAPI.GetVersion(out ver); this.Text = "NExportRawToISO Test[eNBioBS SDK Ver: " + ver.Major + "." + ver.Minor + "]"; }
public Form1() { InitializeComponent(); m_NBioAPI = new NBioAPI(); m_Export = new NBioAPI.Export(m_NBioAPI); NBioAPI.Type.VERSION ver; m_NBioAPI.GetVersion(out ver); this.Text = "NExportRawToISO Test[eNBioBS SDK Ver: " + ver.Major + "." + ver.Minor + "]"; }
private void Form1_Load(object sender, System.EventArgs e) { uint ret = m_IndexSearch.InitEngine(); if (ret != NBioAPI.Error.NONE) { DisplayErrorMsg(ret); } NBioAPI.Type.VERSION version = new NBioAPI.Type.VERSION(); m_NBioAPI.GetVersion(out version); Text = String.Format("IndexSearch Demo for C#.NET using class library (BSP Version : v{0}.{1:D4})", version.Major, version.Minor); textUserID.Text = "1"; listSearchDB.Items.Clear(); listResult.Items.Clear(); }
private void Form1_Load(object sender, System.EventArgs e) { string config = "server=localhost; database=lanche; userid=root; password=vertrigo;"; MySqlConnection conexao = new MySqlConnection(config); CarregaComboBox(); uint ret = m_IndexSearch.InitEngine(); if (ret != NBioAPI.Error.NONE) { DisplayErrorMsg(ret); } NBioAPI.Type.VERSION version = new NBioAPI.Type.VERSION(); m_NBioAPI.GetVersion(out version); listSearchDB.Items.Clear(); listResult.Items.Clear(); btnLoadFile_Click(sender, e); }