mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
26 lines
518 B
C#
26 lines
518 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Data;
|
|||
|
using System.Drawing;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace WinAlfred.Plugin.Doc
|
|||
|
{
|
|||
|
public partial class DocViewFrm : Form
|
|||
|
{
|
|||
|
public DocViewFrm()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
|
|||
|
public void ShowDoc(string path)
|
|||
|
{
|
|||
|
webBrowser1.Url = new Uri(String.Format("file:///{0}", path));
|
|||
|
Show();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|