首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 数据库 第二书店 程序员

devnetwork/ 


共7个网摘 [ 1 ]   |  访问devnetwork的个人空间

Threadsafe calls for a dialog messagebox? - Windows Forms - Dev-Network Forum

devnetwork收录,使用标签:having, a, bit, of, trouble, making, thread-safe, calls, on, a, Form, I''ve, written, for, use, as, a, dialog., Basicly, the, form, I''ve, written, is, for, display, printing, progress., The, user, chooses, a, bunch, of, documents, to, print, on, the, "PrintForm", and, then, "PrintProgressForm", is, displayed, as, a, dialog, of, the, PrintForm., Within, the, PrintProgressForm, I, want, to, occasionally, display, a, message, box, indicating, an, important, status, message, that, may, require, a, yes, /, no, answer, for, example, "Out, of, paper, give, up, -, Yes, /, No".,时间:2008-4-16 22:23:02 | 相关网摘我也收藏

m having a bit of trouble making thread-safe calls on a Form I've written for use as a dialog. Basicly the form I've written is for display printing progress. The user chooses a bunch of documents to print on the "PrintForm", and then "PrintProgressForm" is displayed as a dialog of the PrintForm. Within the PrintProgressForm I want to occasionally display a message box indicating an important status message that may require a yes / no answer, for example "Out of paper, give up - Yes / No".

The printing work is done within PrintProgressForm using a BackgroundWorker, so the message box will be shown from the BackgroundWorker thread. So I'll pop up a message box with the PrintProgressForm as the owner. I check if the form needs invokation, yet half the time it doesn't. And when it doesn't, it then goes on to complain that PrintForm (which I'm not even attempting to access) has been accessed by an unsafe call.

What's going on here


Inconsistent Print Coordinates Cont.

devnetwork收录,使用标签:Handle, a, textbox, outside, the, form,时间:2008-4-14 8:30:51 | 相关网摘我也收藏

Handle a textbox outside the form


table adapter basic functionality

devnetwork收录,使用标签:Initialize, Form, in, Secondary, or, Other, Monitor, than, primary,时间:2008-4-14 8:24:31 | 相关网摘我也收藏

Initialize Form in Secondary or Other Monitor than primary
7015: table adapter basic functionality
7016: datagridviewbuttoncolumn text missing problem
7017: Error:Type not marked as serializable
7018: Populating the treeview with directory details
7019: Setup projects putting too many files in the Program Start menu - how to fix
7020: How to bind an arraylist to combobox without a nullvaule
7021: calling the 'on_load' event or re-setting the form ?
7022: Data Bound ComboBox Acting Strangely
7023: MSI Issue - ReInstall app for every login User
7024: Is TreeNode threadsafe?
7025: How to catch the Node selection in a Tree View
7026: LinkLabel bound to a records of Hyperlinked documents
7027: Click Event For Printing


unable to install Window Service

devnetwork收录,使用标签:Problem, with, Moving, Form, (without, Titlebar), and, a, Dialog, Form,时间:2008-4-14 8:23:26 | 相关网摘我也收藏

Problem with Moving Form (without Titlebar) and a Dialog Form
5270: unable to install Window Service
5271: Button pressed past text into textbox
5272: Problem DataBinding Subclassed Control
5273: ActiveLinkColor of DataGridViewLinkCell is not persistent
5274: Underlying deletion not updating the display of the selected row in the DataGridView
5275: problem with flicking
5276: datagridviewcheckboxcell control
5277: How can I print a richtextbox which contains multiple fonts, colors and fontstyles?
5278: xlt file could not be found using oExcel.Workbooks.Open("BidWeek_Setup.xlt").
5279: conversion coordinates
5280: How to make this work
5281: Tree view context menu: How to get the node clicked?
5282: .msi in thai language
5283: DataGridView Delete Error
5284: How to hide application's entry in the Add/Remove Programs
5285: show folderbrowser in property of propertygrid
5286: scrolling makes my graphs disappear
5287: Vertical scrollbar only
5288: Locatalization Problem
5289: xml string validation with xsd


Dev-Network Forum >> Windows Forms >> Archive Page 8

devnetwork收录,使用标签:How, to, access, controls, on, another, form,时间:2008-4-14 8:21:48 | 相关网摘我也收藏

2452: How to access controls on another form
2453: Office Toolbar inside Internet Explorer
2454: Best way to work with listboxes
2455: Deleting DataSet records from underlying SQL Server using DataGridViewCheckBoxColumn in VS 2005
2456: OpenFileDialog - display file in picture box crashes with .gif images! help
2457: Installer runs when files are replaced
2458: Without .net framework
2459: How to color the intersection between 2 cones?
2460: Collapsible Panel and Custom Control
2461: Need suggestion
2462: Windows Deployment Services
2463: CheckAll/Uncheck All
2464: Problem With Windows Form Designer
2465: how to fill ListBox with Colors and Colors' Names in C#?
2466: KeyDown Search in DataGridView
2467: DataGridView: Stopping enter key from moving focus to next row
2468: MessageBox enter key activates form controls.



共7个网摘 [ 1 ] 

devnetwork/相关标签



网站简介广告服务网站地图帮助联系方式诚聘英才English 问题报告
北京创新乐知广告有限公司 版权所有 京 ICP 证 070598 号
Copyright © 2000-2008, CSDN.NET, All Rights Reserved