EPINDLG :dialog {
  label = "顶针";
  :row {
    :column {
      :image_button {
        aspect_ratio = 1.6;
        height       = 8;
        key          = "epin_ns";
        color        = 0;
      }
      :text {
        label = "直身顶针";
        alignment = centered;
      }
    }
    :column {
      :image_button {
        aspect_ratio = 1.6;
        height       = 8;
        key          = "epin_ws";
        color        = 0;
      }
      :text {
        label = "有托顶针";
        alignment = centered;
      }
    }
  }
  :spacer_1{}
  :row {
    ok_cancel;
  }
  :spacer_1{}
}

pinviewdlg :dialog {
  label = "Ejector Pin Modify";
  :row {
    :column {
      :text {
	label = "ITEM:";
      }
      :text {
        label = "CHINESE:";
      }
      :text {
        label = "DESCRIPTION:";
      }
      :text {
        label = "SPECIFICATION:";
      }
      :toggle {
        label = "All";
        key = "if_all";
      }
    }
    :column {
      :edit_box {
        key = "rep";
        width = 12;
      }
      :edit_box {
        key = "chin";
        width = 12;
      }
      :edit_box {
        key = "desc";
        width = 12;
      }
      :edit_box {
        key = "cot";
        width = 12;
      }
      :row {
        :button {
          label = "Delete>";
          key = "E_DEL";
        }
        :spacer_1{}
        ok_cancel;
      }
    }
  }
  :text {
    label = "";
    key  = "MSG";
  }
}

nsdlg :dialog {
  label = "直身顶针";
  :row {
     :boxed_row {
	label = "顶针规格选择";
	:column {
	   :text {
		label = "顶针类型";
		alignment = centered;
	   }
	   :list_box {
		key = "NSTYP";
		width = 10;
		height = 20;
	   }
	}
	:column {
	   :text {
		label = "顶针长度";
		alignment = centered;
	   }
	   :list_box {
		key = "NSLEN";
		width = 10;
		height = 20;
	   }
	}
     }
     :column {
	:row {
	   :text {
		label = "序号:";
	   }
	   :edit_box {
		key = "NSITEM";
	   }
	}
	:row {
	   :text {
		label = "规格:";
	   }
	   :edit_box {
		key = "NSSPEC";
	   }
	}
	:boxed_radio_row {
	   label = "公英制选择";
	   :radio_button {
		label = "公制";
		key = "NSM";
	   }
	   :radio_button {
		label = "英制";
		key = "NSB";
	   }
	}
	:boxed_row {
	   label = "视图选择:";
	   :column {
		:image_button {
		   key = "ns_c";
		   height = 4;
		   aspect_ratio = 1.7;
		   color = 0;
		}
		:text {
		   label = "侧视图";
		   alignment = centered;
		}
	   }
	   :column {
		:image_button {
		   key = "ns_z";
		   height = 4;
		   aspect_ratio = 1.7;
	           color = 0;
		}
		:text {
		   label = "正视图";
		   alignment = centered;
		}
	   }
	}
	:toggle {
	   label = "是否用虚线绘出";
	   key = "HIDDENV";
	}
	:row {
	   :button {
	   	label = "返回>";
	   	key = "BACK";
	   }
	   :button {
		label = "看图";
		key = "LOOK";
	   }
	}
	ok_cancel;
     }
  }
  :text {
    label = "";
    key   = "MSG";
  }
}

wsdlg :dialog {
  label = "有托顶针";
  :row {
     :boxed_row {
	label = "顶针规格选择";
	:column {
	   :text {
		label = "顶针类型";
		alignment = centered;
	   }
	   :list_box {
		key = "WSTYP";
		width = 10;
		height = 20;
	   }
	}
	:column {
	   :text {
		label = "顶针长度";
		alignment = centered;
	   }
	   :list_box {
		key = "WSLEN";
		width = 10;
		height = 20;
	   }
	}
     }
     :column {
	:row {
	   :text {
		label = "序号:";
	   }
	   :edit_box {
		key = "WSITEM";
	   }
	}
	:row {
	   :text {
		label = "规格:";
	   }
	   :edit_box {
		key = "WSSPEC";
	   }
	}
	:boxed_radio_row {
	   label = "公英制选择";
	   :radio_button {
		label = "公制";
		key = "WSM";
	   }
	   :radio_button {
		label = "英制";
		key = "WSB";
		value = 1;
	   }
	}
	:boxed_row {
	   label = "视图选择:";
	   :column {
		:image_button {
		   key = "ws_c";
		   height = 4;
		   aspect_ratio = 1.7;
		   color = 0;
		}
		:text {
		   label = "正视图";
		   alignment = centered;
		}
	   }
	   :column {
		:image_button {
		   key = "ws_z";
		   height = 4;
		   aspect_ratio = 1.7;
	           color = 0;
		}
		:text {
		   label = "侧视图";
		   alignment = centered;
		}
	   }
	}
	:toggle {
	   label = "是否用虚线绘出";
	   key = "HIDDENV";
	}
	:row {
	   :button {
	   	label = "返回>";
	   	key = "BACK";
	   }
	   :button {
		label = "看图";
		key = "LOOK";
	   }
	}
	ok_cancel;
     }
  }
  :text {
    label = "";
    key   = "MSG";
  }
}