Male C. Pig a.k.a. Svinopolist (piggymouse) wrote,
Male C. Pig a.k.a. Svinopolist

  • Mood:

[software] No eye deer

Граждане коллеги, а это такая фича Studio 2003, что контрол, положенный в дизайнере на форму, иногда почему-то считает, что он не находится в design mode?

Способ воспроизвести:

public class NoEyeDeerControl : System.Windows.Forms.ListBox
  /* blah-blah-blah */
  public String FuckingProperty
    get {/* blah-blah-blah */}
            /* Say FUCK YOU via service notification message box, 
            so everybody can hear! */

Говорит FUCK YOU, когда форма открыта в дизайнере и проект перекомпилируется.

Я тупой, я в курсе.

Update: Тайна раскрыта. Нехрен было переименовывать assembly в проекте контрола и не переставлять reference в проекте ехешника.


  • Here take my picture

    Elegy V: His Picture by Dr John Donne Here take my picture; though I bid farewell Thine, in my heart, where my soul dwells, shall dwell. ’Tis…

  • Pea Brush

    Pea Brush by Robert Frost I walked down alone Sunday after church To the place where John has been cutting trees To see for myself about the…

  • Two poems by e.e.cummings

    Summer Silence Eruptive lightnings flutter to and fro Above the heights of immemorial hills; Thirst-stricken air, dumb-throated, in its woe Limply…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded