Mousavmousab
پنج شنبه 16 آبان 1392, 00:29 صبح
سلام
معادل AutoRedraw در سی شارپ چیست؟
یادم می آد توی وی بی 6 که قدیما کار می کردیم فرم یک ویژگی به نام AutoRedraw داشت که به طور پیش فرض False بود. در این صورت وقتی روی فرم چیزی print یا Draw می کردی اگه Minimize می کردی اون متن یا شکل پاک می شد (خد به خود) ولی وقتی این ویژگی را به True تبدیل می کردی. دیگه پاک نمی شد.
الان می خوام بدونم وقتی توی سی شارپ روی panel متنی ، چیزی را ترسیم می کنیم. برای اینکه وقتی مینی مایز می کنیم فرم را ، اون شکل یا متن به طور خودکار پاک نشه باید چیکار کنیم؟
معادل AutoRedraw در سی شارپ چیست؟
یادم می آد توی وی بی 6 که قدیما کار می کردیم فرم یک ویژگی به نام AutoRedraw داشت که به طور پیش فرض False بود. در این صورت وقتی روی فرم چیزی print یا Draw می کردی اگه Minimize می کردی اون متن یا شکل پاک می شد (خد به خود) ولی وقتی این ویژگی را به True تبدیل می کردی. دیگه پاک نمی شد.
الان می خوام بدونم وقتی توی سی شارپ روی panel متنی ، چیزی را ترسیم می کنیم. برای اینکه وقتی مینی مایز می کنیم فرم را ، اون شکل یا متن به طور خودکار پاک نشه باید چیکار کنیم؟