APNDLG :dialog {
  label = "斜边库";
  :row {
    :boxed_column {
      label = "斜边参数选择";
      width = 14;
      :text {
        label = "斜边直径";
        alignment = centered;
      }
      :edit_box {
	key = "APN_D";
      }
      :list_box {
	key = "APN_D_SEL";
	height = 12;
      }
    }
    :column {
      :boxed_radio_row {
	label = "公英制选择";
	:radio_button {
	  label = "公制";
	  key = "APN_M";
	}
	:radio_button {
	  label = "英制";
	  key = "APN_B";
	}
      }
      :row {
	:column {
	  :text {
	    label = "角度";
	  }
	  :spacer_1{}
	}
	:column {
	  :edit_box {
	    key = "APN_ANG";
	  }
	  :popup_list {
	    key = "APN_ANG_SEL";
	  }
	}
      }
      :spacer_1{}
      :row {
	:text {
	  label = "行程";
	}
	:edit_box {
	  key = "APN_STK";
	}
      }
      :row {
	:text {
	  label = "序号";
	}
	:edit_box {
	  key = "APN_ITM";
	}
      }
      :toggle {
        label = "是否虚线";
        key   = "IF_H";
	value = "0";
      }
      :row {
        :button {
	  label = "应用";
	  key = "APP_APN";
        }
        :button {
	  label = "编辑";
	  key = "APP_MOD";
        }
      }
      :spacer_1{}
      :row {
	ok_cancel;
      }
    }
  }
  :text {
    label = "";
    key   = "MSG";
    alignment = centered;
  }
}

APNEDIT :dialog {
  label = "斜边编辑";
  :row {
    :boxed_column {
      label = "斜边参数选择";
      width = 14;
      :text {
        label = "斜边直径";
        alignment = centered;
      }
      :edit_box {
	key = "APN_D";
      }
      :list_box {
	key = "APN_D_SEL";
	height = 12;
      }
    }
    :column {
      :boxed_radio_row {
	label = "公英制选择";
	:radio_button {
	  label = "公制";
	  key = "APN_M";
	}
	:radio_button {
	  label = "英制";
	  key = "APN_B";
	}
      }
      :spacer_1{}
      :row {
	:text {
	  label = "行程";
	}
	:edit_box {
	  key = "APN_STK";
	}
      }
      :row {
	:text {
	  label = "序号";
	}
	:edit_box {
	  key = "APN_ITM";
	}
      }
      :toggle {
        label = "是否虚线";
        key   = "IF_H";
	value = "0";
      }
      :spacer_1{}
      :row {
	ok_cancel;
      }
    }
  }
  :text {
    label = "";
    key   = "MSG";
    alignment = centered;
  }
}

APNZST :dialog {
  label = "插入顶视图及底视图";
  :spacer_1{}
  :row {
    :button {
      label = "顶视图";
      key   = "TVIEW";
      fixed_width = true;
    }
    :button {
      label = "底视图";
      key   = "BVIEW";
      fixed_width = true;
    }
  }
  :spacer_1{}
  :button {
    label = "返回图纸";
    key   = "GOLOOK";
    width = 8;
  }
  :spacer_1{}
  :row {
    ok_cancel;
  }
}