S
soomro abid
Guest
private void DocList_Load(object sender, EventArgs e)
{
PopulateListBox(listBox1, @"C:\Scan", "*.PDF");
}
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
{
IndexingForm indfrm = new IndexingForm(listBox1.SelectedItem.ToString());
indfrm.Show();
}
public partial class IndexingForm : Form
{
string path;
public IndexingForm(String path)
{
this.path = path;
Console.WriteLine(path);
InitializeComponent();
}
private void IndexingForm_Load(object sender, EventArgs e)
{
axAcroPDF1.src =path;
}
}
Continue reading...
{
PopulateListBox(listBox1, @"C:\Scan", "*.PDF");
}
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
{
IndexingForm indfrm = new IndexingForm(listBox1.SelectedItem.ToString());
indfrm.Show();
}
public partial class IndexingForm : Form
{
string path;
public IndexingForm(String path)
{
this.path = path;
Console.WriteLine(path);
InitializeComponent();
}
private void IndexingForm_Load(object sender, EventArgs e)
{
axAcroPDF1.src =path;
}
}
Continue reading...