Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little documentation issues
Message
From
11/05/2006 18:31:14
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Little documentation issues
Miscellaneous
Thread ID:
01121174
Message ID:
01121174
Views:
45
1) MM .NET Dev Guide / Recompiling MM .NET Assemblies
minor gotcha:
If you copy the text, "sn –k keyPair.snk" from MM .NET Dev Guide / Recompiling MM .NET Assemblies, and paste it into a VS 2005 command prompt window, sn.exe doesn't work, and shows the help text. After major confusion, typing it out by hand worked fine.

2) MM .NET Dev Guide / Recompiling MM .NET Assemblies

The text:
2. From within the Command Prompt window, change to the \obj\debug directory of the MM .NET project you want to compile. Run sn.exe, and specify keyPair.snk as the name of the key pair file you want to generate. For example: ...

On Build Project, VS returns an error expecting the keyPair.snk in the same directory as the solution.

3) MM .NET Dev Guide / Recompiling MM .NET Assemblies
Clarification please: I assume I can copy the same keyPair.snk into each project and not generate it each time for all the projects

4) MM .NET Dev Guide / Creating Windows Forms Applications / Creating Your Own Custom Navigation Toolbar (Walkthrough) / Step 1: Create a Navigation Toolbar Sublcass

4.a) "Sublcass" is misspelled

4.b) The code under
* Specify that MyCustomNavToolbar is based on mmNavigationToolbar
reads:
public class MyCustomNavToolbar : mmNavigationToolBar
But I can only get it to work as:
public partial class MyCustomNavToolbar : mmNavigationToolBar
5) ... / Step 2: Customizing the Toolbar

The instruction:

* Click directly on the toolbar design surface to select the toolbar, then in the Properties Window, select the Buttons property and click its associated ellipses button [...].

Doesn't work--there's no ellipsis button and the text for the Buttons property says "Read -Only".

http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolbar.buttons.aspx
has remarks:
Remarks

The Buttons property is a zero-based indexed collection used to hold all the ToolBarButton controls assigned to the toolbar. Because the property is read-only, it can not be assigned a collection of toolbar buttons directly. Toolbar buttons can be added or removed by using the methods inherited from the ToolBar.ToolBarButtonCollection class. Use the Add method to add individual buttons and the Remove method to delete a button. Call the Clear method to remove all the buttons from the collection.

Okay... I'm new to .Net 2.0 windows forms. Was this property's behavior changed to Read-Only in 2.0 before release? Am I doing something subtly wrong?

6) Can someone explain the compile warnings?:
'MyCLient.MyProject.myCustomNavToolbar.components' hides inherited member 'OakLeaf.MM.Main.Windows.Forms.mmNavigationToolBar.components'. Use the new keyword if hiding was intended.
...
'MyCLient.MyProject.MyForm.components' hides inherited member 'OakLeaf.MM.Main.Windows.Forms.mmMaintenanceForm.components'. Use the new keyword if hiding was intended. D:\Clients\Herrick\Projects\MaterialControl\JobForm.Designer.cs

Thanks!
Reply
Map
View

Click here to load this message in the networking platform