|
@@ -218,7 +218,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
{
|
|
|
case AnnotArgsType.WidgetViewForm:
|
|
|
WidgetArgs formArgs = e.GetAnnotHandlerEventArgs(AnnotArgsType.WidgetViewForm).First() as WidgetArgs;
|
|
|
- switch (formArgs.WidgeType)
|
|
|
+ switch (formArgs.WidgetType)
|
|
|
{
|
|
|
case ComPDFKit.PDFAnnotation.Form.C_WIDGET_TYPE.WIDGET_PUSHBUTTON:
|
|
|
case ComPDFKit.PDFAnnotation.Form.C_WIDGET_TYPE.WIDGET_COMBOBOX:
|
|
@@ -252,7 +252,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
WidgetArgs widgetArgs = PdfViewControl.PDFView.ToolManager.CurrentAnnotArgs as WidgetArgs;
|
|
|
if (widgetArgs != null)
|
|
|
{
|
|
|
- switch (widgetArgs.WidgeType)
|
|
|
+ switch (widgetArgs.WidgetType)
|
|
|
{
|
|
|
case ComPDFKit.PDFAnnotation.Form.C_WIDGET_TYPE.WIDGET_PUSHBUTTON:
|
|
|
widgetArgs.FieldName = "Button" + GetTime();
|