コード例 #1
0
ファイル: BForm.cs プロジェクト: HiraokaHyperTools/pdfbun
 private void bPerPages_Click(object sender, EventArgs e)
 {
     using (PPForm form = new PPForm()) {
         foreach (Pane p in flpPages.Controls)
         {
             if (!p.DeleteMe)
             {
                 form.AddPane(p);
             }
         }
         if (form.ShowDialog(this) == DialogResult.OK)
         {
             int x = 1;
             foreach (Pane pane in form.panes)
             {
                 pane.SplitFirst = (form.splits.Contains(x - 1));
                 x++;
             }
         }
     }
 }
コード例 #2
0
ファイル: BForm.cs プロジェクト: HiraokaHyperTools/pdfbun
 private void bPerPages_Click(object sender, EventArgs e)
 {
     using (PPForm form = new PPForm()) {
         foreach (Pane p in flpPages.Controls)
             if (!p.DeleteMe)
                 form.AddPane(p);
         if (form.ShowDialog(this) == DialogResult.OK) {
             int x = 1;
             foreach (Pane pane in form.panes) {
                 pane.SplitFirst = (form.splits.Contains(x - 1));
                 x++;
             }
         }
     }
 }