Hmmmm. Interesting project. Here's an easy approach to use:
-Use a regular Windows.Forms.Form control for the app.
-Smother the form with textboxes which are square in shape to make the
letter squares.
-Customise the border style of the textbox to suit the desired aesthetics.
-Create one textbox to start with. Once it's the size you want, copy and
paste it all over the form to create the crossword grid
-Set the tab stop property to false on them all
-Create and event handler for the textbox Click event (i.e. textBox1.Click
+= new EventHandler(TextBoxClick)). The purpose of the event is so that when
the user is running the app, click the text boxes will make them dissapear to
get rid of unwanted squares in the desired puzzle.
-Only create one event handler function for all the text boxes and use the
"sender" parameter to address the textbox that fired the event. Inside the
event write a simple function that toggles the visibility of the text box
-For putting the little numbers in the boxes, I would reccomend laying label
controls over the top of each text box. Make the font really tiny. You can
acheive the smallest fonts by editing the generator code in the
Form1.Designer.cs file as I think the smallest selectible font in the .Net
Environment is 6.
-Create a context menu and bind it to all the textboxes. The context menu
should have an option to add the number label to that box. Use a dialog box
form or something similar to enter the number that goes there
-Once the GUI for the app is done. That's the easy part =/. If you want PDF
output, you'll have to use the rendering method of the form and/or each
control on the form. Create a memory bitmap and parse it as the parameter for
the Object.DrawtoBitmap() method (don't quote me on the method name but it's
something like that).
-Using some library (not sure if one ships with .Net) to print the memory
bitmap to the Adobe Distiller. It is essential that it prints to an Adobe
Distiller as there is no way on this earth that you'll want to write your own
PDF renderer unless you have a few months spare to get the info you need and
sit down and nut it out. There could be a custom control that someone has
made which will create PDFs for you. Generally the creation of PDFs is only
done my licensed Adobe Products as I think the file format is protected by
law.
If you aren't too crash hot with programming event handlers in .Net and
messing around with the code side of controls, this will be a tough app for
you to make. Like I said, interesting project
). Good luck.