예제 #1
0
 public static void ShowPreview(this Form frm, string filename, string Chapter)
 {
     try
     {
         frmPreview frmPreview = new frmPreview(filename, Chapter);
         //frm.AddOwnedForm(frmPreview);
         Variables.OpenedForm.Add(frmPreview);
         frmPreview.Show();
     }
     catch (Exception)
     {
     }
 }
예제 #2
0
        public static void ShowPreview(this Form frm, string filename, string Chapter)
        {
            try
            {
                frmPreview frmPreview = new frmPreview(filename, Chapter);
                //frm.AddOwnedForm(frmPreview);
                Variables.OpenedForm.Add(frmPreview);
                frmPreview.Show();
            }
            catch (Exception)
            {

            }
        }