ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
5 декабря
111226 Топик полностью
Ruslan (25.01.2008 11:53, просмотров: 208) ответил Ruslan на прелести .NET и ленивость их программистов
вот пример. Кусок транслятора в P-CAD  public void Translate() { FileStream stream; StreamReader reader; float index; FileStream stream2; StreamReader reader2; string str11; string str13; int num = 10; string currentDirectory = Directory.GetCurrentDirectory(); this.LogFile = Path.Combine(currentDirectory, "Write.Log"); string version = this.Version; try { ... Label_06F6: if (flag) { this.PCAD_pastack_write = ""; this.int_AC_draw_count = null; this.int_AC_draw_type = null; this.int_AC_draw_count = null; this.int_AC_draw_width = null; this.int_AC_draw_layer = null; this.int_AC_draw_linestyle = null; this.int_AC_draw_x = null; this.int_AC_draw_y = null; this.int_AC_draw_pin = null; this.int_AC_counter = 0f; this.int_pad_poly = null; this.int_pad_polypin = null; this.firstdraw_poly = true; this.int_ac_used = false; ... } num = 0x2a; this.map_padstacks(); num = 0x2b; this.write_PCAD(); num6++; }