637 references to IsHandleCreated
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\WizardForm.cs (1)
402if (IsHandleCreated)
System.Windows.Forms (636)
winforms\Managed\System\WinForms\Application.cs (5)
3444currentForm.IsHandleCreated && 4142if (IsHandleCreated) { 4183if (!IsHandleCreated) { 4195if (IsHandleCreated) { 4341if (MainForm != null && MainForm.IsHandleCreated) {
winforms\Managed\System\WinForms\AxHost.cs (20)
613else if (!f.Visible && Visible && IsHandleCreated && GetOcState() >= OC_INPLACE) { 616else if (f.Visible && !GetState(STATE_VISIBLE) && IsHandleCreated && GetOcState() >= OC_INPLACE) { 1204if (IsHandleCreated) return Handle; 1320if (olduMode != newuMode && !IsHandleCreated && !axState[disposed]) { 1347if (uiDeactivate && IsHandleCreated) { 1410if (!IsHandleCreated) { 1429Debug.Assert(!IsHandleCreated, "if we need a fake window, we can't have a real one"); 1582if (!IsHandleCreated) { 1613if (!IsHandleCreated || wndprocAddr == IntPtr.Zero) return true; 1645if (IsHandleCreated) { 1867if (!IsHandleCreated) { 1876if (IsHandleCreated) return; 1891if ((IsHandleCreated || value) && ParentInternal != null && ParentInternal.Created) { 1901if (!IsHandleCreated) { 1957Debug.Assert(IsHandleCreated, "gotta have a window to hide"); 1963Debug.Assert(!IsHandleCreated, "if we are inplace deactivated we should not have a window."); 3346if (!ParentInternal.IsHandleCreated) return; 3567if (IsHandleCreated) { 3582Debug.Assert(IsHandleCreated, "we got to have a handle to be here..."); 4493return IsHandleCreated;
winforms\Managed\System\WinForms\ButtonBase.cs (3)
253if (IsHandleCreated) { 779if (IsHandleCreated) { 1028if (IsHandleCreated && InvokeRequired) {
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
84&& control != null && control.IsHandleCreated) {
winforms\Managed\System\WinForms\CheckBox.cs (2)
267if (IsHandleCreated) { 609if (IsHandleCreated) {
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
548if (IsHandleCreated) { 879if (IsHandleCreated) { 892if (IsHandleCreated) {
winforms\Managed\System\WinForms\ColumnHeader.cs (4)
210if (ListView != null && ListView.IsHandleCreated) { 242if (ListView != null && ListView.IsHandleCreated) { 393if (listview != null && listview.IsHandleCreated && !listview.Disposing && listview.View == View.Details) { 474if (this.listview.IsHandleCreated && !this.listview.Disposing) {
winforms\Managed\System\WinForms\ComboBox.cs (30)
547if (IsHandleCreated) { 601if (IsHandleCreated) { 611if (!IsHandleCreated) { 724!IsHandleCreated) { 737Debug.Assert(IsHandleCreated, "Handle should be created at this point"); 853if (IsHandleCreated) SendMessage(NativeMethods.CB_LIMITTEXT, value, 0); 1035if (IsHandleCreated) { 1054if (IsHandleCreated) { 1064if (IsHandleCreated) { 1129if (IsHandleCreated) { 1252if (IsHandleCreated) { 1289if (DropDownStyle == ComboBoxStyle.DropDownList && !IsHandleCreated && !String.IsNullOrEmpty(value) && FindStringExact(value) == -1) 2175if (IsHandleCreated) { 2330Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 2342Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 2368Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 2381Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 2897if (IsHandleCreated) { 3045if (IsHandleCreated) 3146if (!IsHandleCreated || childEdit == null) { 3151if (!fromHandleCreate && recreate && IsHandleCreated) 3306if (IsHandleCreated) { 3388if (!IsHandleCreated) { 4154if (owner.IsHandleCreated) { 4160if (owner.IsHandleCreated) { 4246if (owner.IsHandleCreated) { 4329if (owner.IsHandleCreated) { 4363if (owner.IsHandleCreated) { 4368if (!owner.IsHandleCreated && index < owner.selectedIndex) { 4404if (owner.IsHandleCreated) {
winforms\Managed\System\WinForms\ContextMenu.cs (1)
224if (!control.IsHandleCreated || !control.Visible)
winforms\Managed\System\WinForms\Control.cs (76)
876if (value && !IsHandleCreated) { 882if (IsHandleCreated) { 1402if (!IsHandleCreated) { 1475return IsHandleCreated && UnsafeNativeMethods.GetCapture() == Handle; 1547if (GetStyle(ControlStyles.CacheText) || !IsHandleCreated) { 1664if (!IsHandleCreated) { 2018if (IsHandleCreated) { 2083if (IsHandleCreated) { 2479return IsHandleCreated && UnsafeNativeMethods.GetFocus() == Handle; 2571if (IsHandleCreated && !GetStyle(ControlStyles.UserPaint)) { 2863if (!IsHandleCreated) 2985if (!IsHandleCreated || !Visible) { 3049if (!IsHandleCreated) 3086if (IsHandleCreated) { 3092if (!marshalingControl.IsHandleCreated) { 3172if (!IsHandleCreated) { 3580if (IsHandleCreated) { 3975if (IsHandleCreated) SetWindowStyle(NativeMethods.WS_TABSTOP, value); 4169if (!IsHandleCreated || DesignMode) { 4237if (!IsHandleCreated) { 4524if (!IsHandleCreated) { 4553if (IsHandleCreated) { 5292if (IsHandleCreated) { 5600if (!IsHandleCreated) { 5615else if (IsHandleCreated && GetTopLevel() && SafeNativeMethods.IsWindowEnabled(new HandleRef(window, Handle))) { 5883if (!IsHandleCreated) CreateHandle(); 5895if (ctl.IsHandleCreated) { 6032if (IsHandleCreated) DestroyHandle(); 6162if (!IsHandleCreated) { 6237Debug.Assert(IsHandleCreated, "Handle should be created by now"); 6284while (c != null && !c.IsHandleCreated) { 6298Debug.Assert(c.IsHandleCreated, "FindMarshalingControl chose a bad control."); 6716if (!handleCreatedOnly || c.IsHandleCreated) { 7212else if (IsHandleCreated) { 7267if (IsHandleCreated) { 7311else if (IsHandleCreated) { 7658if (IsHandleCreated) { 7783if (!IsHandleCreated) { 8169if (IsHandleCreated) { 8224if (IsHandleCreated && !GetStyle(ControlStyles.UserPaint)) { 8404if (IsHandleCreated) { 8434if (IsHandleCreated) { 8722if (this.IsHandleCreated) { 8810if (this.IsHandleCreated) 9414if (this.IsHandleCreated) { 10950if (IsHandleCreated) { 10992if (childControl != null && childControl.IsHandleCreated) { 11018if (childControl != null && childControl.IsHandleCreated) { 11236if (accept != GetState(STATE_DROPTARGET) && IsHandleCreated) { 11731Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11740Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11744Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11749Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11754Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11763Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11772Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11781Debug.Assert(IsHandleCreated, "Performance alert! Calling Control::SendMessage and forcing handle creation. Re-work control so handle creation is not required to set properties. If there is no work around, wrap the call in an IsHandleCreated check."); 11792else if (IsHandleCreated && GetTopLevel()) { 11880if (!IsHandleCreated) { 11970if (IsHandleCreated) { 12098if (IsHandleCreated && GetState2(STATE2_INTERESTEDINUSERPREFERENCECHANGED)) { 12130if (IsHandleCreated || value) { 12134else if (IsHandleCreated || value && parent != null && parent.Created) { 12179if (!GetState(STATE_VISIBLE) && !value && IsHandleCreated) { 12195if (IsHandleCreated) { 12535Debug.Assert(!IsHandleCreated, "Don't call this method when handle is created!!"); 12671if (!Disposing && findNewParent && IsHandleCreated) { 12696if (!IsHandleCreated || !ctl.IsHandleCreated || ctl.parent != this) return; 12700if (c.IsHandleCreated && c.parent == this) { 12738if (IsHandleCreated) { 13421if (IsHandleCreated) { 16088return this.IsHandleCreated && this.Visible && (host == null || host.CanShowToolTipsNow()); 16170if (neighboringControl != null && neighboringControl.IsHandleCreated) { 16678if (!control.IsHandleCreated) { 18429if (setRegion && control.IsHandleCreated) {
winforms\Managed\System\WinForms\Control.Ime.cs (1)
169if( this.IsHandleCreated ) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
3873if (IsHandleCreated) {
winforms\Managed\System\WinForms\DataGridView.cs (8)
2987if (!this.IsHandleCreated) 3034if (!this.IsHandleCreated) 3107if (!this.IsHandleCreated) 3183if (!this.IsHandleCreated) 3761if (this.layout.dirty && this.IsHandleCreated) 4785if (this.IsHandleCreated && !this.DesignMode) 4839if (this.IsHandleCreated && !this.DesignMode) 4934if (this.IsHandleCreated && !this.DesignMode)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (25)
319if (!this.IsHandleCreated) 441if (!this.IsHandleCreated) 1727if (!this.IsHandleCreated) 1800if (!this.IsHandleCreated) 1870if (!this.IsHandleCreated) 2000if (!this.IsHandleCreated) 2173if (!this.IsHandleCreated) 2301if (!this.IsHandleCreated) 2423if (!this.IsHandleCreated) 9968if (this.IsHandleCreated) 9995if (this.IsHandleCreated) 10007if (this.IsHandleCreated) 10018if (this.IsHandleCreated) 10041if (this.IsHandleCreated) 10054if (this.IsHandleCreated) 14946if (e.Column.Visible && this.IsHandleCreated) 15492if (this.IsHandleCreated && this.Enabled) 18715if (this.IsHandleCreated) 20255if (this.IsHandleCreated) 20340if (!this.IsHandleCreated) 28914if (this.IsHandleCreated) 28931if (this.IsHandleCreated) 28986if (this.IsHandleCreated && this.layout.RowHeadersVisible) 29007if (this.IsHandleCreated && this.layout.RowHeadersVisible) 29043if (this.IsHandleCreated && (rowIndex == -1 || rowVisible))
winforms\Managed\System\WinForms\DateTimePicker.cs (9)
416if (this.ShowCheckBox && IsHandleCreated) { 427if (this.ShowCheckBox && IsHandleCreated) { 516if (IsHandleCreated) { 1029if (IsHandleCreated) { 1377if (IsHandleCreated) { 1396if (IsHandleCreated) { 1406if (IsHandleCreated) { 1433if (IsHandleCreated) { 1475if (IsHandleCreated) {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
942if (!parent.IsHandleCreated)
winforms\Managed\System\WinForms\Form.cs (41)
469if( this.ctlClient != null && this.ctlClient.IsHandleCreated){ 875if (formState[FormStateSetClientSize] == 1 && !IsHandleCreated) { 996if (this.IsHandleCreated && (this.WindowStyle & NativeMethods.WS_DISABLED) != 0) 1642if (IsHandleCreated && Menu == null) { 1710if (formState[FormStateSetClientSize] == 1 && !IsHandleCreated) { 1775if (IsHandleCreated) { 1941if (ParentInternal.IsHandleCreated && IsMdiChild && IsHandleCreated) { 2288if (IsHandleCreated) { 2575if (IsHandleCreated && TopLevel) { 2689if (IsHandleCreated) { 2785if (IsHandleCreated && Visible) { 3086if (Visible && IsHandleCreated) { 3341if (IsHandleCreated) { 3400|| !IsHandleCreated) { 3568if (IsHandleCreated) { 3647if (IsMdiChild && MdiParentInternal.IsHandleCreated) { 3649if (mdiClient != null && !mdiClient.IsHandleCreated) { 3777if (ctlClient != null && ctlClient.IsHandleCreated && ctlClient.ParentInternal == this){ 4078Debug.Assert( IsHandleCreated, "Attempt to set focus to a form that has not yet created its handle." ); 4387return GetState(STATE_VISIBLE) && IsHandleCreated; 4556if (ctlClient == null || !ctlClient.IsHandleCreated) { 4563if (IsHandleCreated) { 4587if (ctlClient != null && ctlClient.IsHandleCreated) { 4906if (IsHandleCreated) 4989if (IsHandleCreated 5526if (IsHandleCreated) { 5708if (IsHandleCreated && UnsafeNativeMethods.GetForegroundWindow() == this.Handle) { 5713else if (!IsHandleCreated || UnsafeNativeMethods.GetForegroundWindow() != this.Handle) 6031if (IsHandleCreated) { 6241if (IsHandleCreated) { 6428if (IsHandleCreated && TopLevel) { 6451if ((formState[FormStateLayered] != 0) && IsHandleCreated && TopLevel && OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) { 6484if (IsHandleCreated) { 6501Debug.Assert(IsHandleCreated, "shouldn't call when handle == 0"); 6518if (ctlClient == null || !ctlClient.IsHandleCreated) { 6796if (IsHandleCreated) { 6844if (IsHandleCreated) { 7027if (mdiChild.IsHandleCreated) { 7091if (mdiChild.IsHandleCreated) { 7283Debug.Assert(IsHandleCreated, "how is handle 0?");
winforms\Managed\System\WinForms\GroupBox.cs (2)
324if (suspendRedraw && IsHandleCreated) { 330if (suspendRedraw && IsHandleCreated) {
winforms\Managed\System\WinForms\Label.cs (4)
1005if (IsHandleCreated) { 1335if( !IsHandleCreated ){ 1365if (IsHandleCreated) { 1444if (IsHandleCreated && InvokeRequired)
winforms\Managed\System\WinForms\LinkLabel.cs (3)
400if (IsHandleCreated) { 823if (IsHandleCreated) { 1816if (!IsHandleCreated) {
winforms\Managed\System\WinForms\ListBox.cs (34)
318else if (IsHandleCreated) { 461if (IsHandleCreated) { 632if (drawMode == DrawMode.OwnerDrawFixed && IsHandleCreated) { 776if (IsHandleCreated) 872if (current == SelectionMode.One && IsHandleCreated) { 905if (IsHandleCreated) { 924if (IsHandleCreated) { 1042if (IsHandleCreated) 1142if (IsHandleCreated) { 1150if (IsHandleCreated) { 1377if (IsHandleCreated) { 1487if (IsHandleCreated) { 1533if (IsHandleCreated) { 1582Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 1606Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 1625Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 1650Debug.Assert(IsHandleCreated, "Shouldn't be calling Native methods before the handle is created."); 1668Debug.Assert(IsHandleCreated, "Should only call Native methods after the handle has been created"); 1685Debug.Assert(IsHandleCreated, "Should only call native methods if handle is created"); 1984if (IsHandleCreated) { 2104if (IsHandleCreated) { 2137if (IsHandleCreated) { 2163if (IsHandleCreated) { 2211if (!multiColumn && horizontalScrollbar && IsHandleCreated) { 2265if (IsHandleCreated && UseCustomTabOffsets && CustomTabOffsets != null) { 3082if (owner.IsHandleCreated) 3096if (owner.IsHandleCreated) 3206if (owner.IsHandleCreated) { 3304if (owner.IsHandleCreated) { 3354if (owner.IsHandleCreated) { 3375if (owner.IsHandleCreated) { 4137if (owner.IsHandleCreated) { 4221if (owner.IsHandleCreated) { 4462if (this.owner.IsHandleCreated && IsChildIdValid(this.childId, this.owner.AccessibilityObject.GetSystemIAccessibleInternal())) {
winforms\Managed\System\WinForms\ListView.cs (96)
385if (IsHandleCreated) { 430if (IsHandleCreated && BackgroundImage != null) { 553if ((!value && this.StateImageList != null && this.IsHandleCreated) || 554(!value && this.Alignment == ListViewAlignment.Left && this.IsHandleCreated) || 555(value && this.View == View.List && this.IsHandleCreated) || 556(value && (this.View == View.SmallIcon || this.View == View.LargeIcon) && this.IsHandleCreated)) { 588if (IsHandleCreated && imageListState != null) { 687if (IsHandleCreated) { 824if (IsHandleCreated) { 832if (IsHandleCreated && value != null) { 854if (IsHandleCreated) { 1194if (IsHandleCreated) { 1401if (IsHandleCreated) { 1437if (IsHandleCreated) { 1550if (IsHandleCreated) 1564if (this.IsHandleCreated && imageListState != null && this.CheckBoxes) { 1581if (IsHandleCreated) { 1637if (this.IsHandleCreated) { 1658if (this.IsHandleCreated) { 1692if (!IsHandleCreated) { 1714if (!IsHandleCreated) { 1791if (IsHandleCreated && ComctlSupportsVisualStyles) { 1828bool keepTopItem = this.IsHandleCreated && VirtualMode && this.View == View.Details && !this.DesignMode; 1836if (IsHandleCreated && VirtualMode && !DesignMode) 2241if (IsHandleCreated) { 2269if (!this.IsHandleCreated) { 2277if (!this.IsHandleCreated) { 3045if (IsHandleCreated && ComctlSupportsVisualStyles && GroupsEnabled) { 3062if (IsHandleCreated) 3158if (!IsHandleCreated) 3219if (CheckBoxes && IsHandleCreated) { 3276if (IsHandleCreated && !ListViewHandleDestroyed) { 3394Debug.Assert(IsHandleCreated, "How did we add items without a handle?"); 3583if (viewStyle == View.Details && IsHandleCreated) { 3614if (IsHandleCreated && this.View != View.Tile) { 3645if (ch.ActualImageIndex_Internal != -1 && this.IsHandleCreated && this.View != View.Tile) { 3671if (this.IsHandleCreated && this.View == View.Tile) { 3673} else if (IsHandleCreated && refreshSubItems) 3736Debug.Assert(IsHandleCreated,"InsertGroupNative precondition: list-view handle must be created"); 3764if (this.IsHandleCreated && this.Items.Count == 0 && this.View == View.SmallIcon && this.ComctlSupportsVisualStyles) 3819if (!IsHandleCreated) { 3827if (IsHandleCreated) { 3858Debug.Assert(IsHandleCreated, "InsertItemsNative precondition: list-view handle must be created"); 4026if (IsHandleCreated) { 4035if (!this.VirtualMode && (null != sender) && (sender == imageListLarge) && IsHandleCreated) { 4048if (this.IsHandleCreated) { 4070if (IsHandleCreated) { 4229if (!VirtualMode && IsHandleCreated && AutoArrange) { 4475if (IsHandleCreated) { 4485if (this.View == View.Details && !this.Scrollable && this.IsHandleCreated) { 4550if (IsHandleCreated) { 4695if (this.IsHandleCreated) 4759Debug.Assert(IsHandleCreated,"RemoveGroupNative precondition: list-view handle must be created"); 4870if (IsHandleCreated) { 4951if (IsHandleCreated) { 4955if (this.IsHandleCreated && 4966if (IsHandleCreated) { 4980if (this.IsHandleCreated && !this.Disposing) { 5053if (this.IsHandleCreated) { 5066if (this.IsHandleCreated) { 5081Debug.Assert(IsHandleCreated, "How did we add items without a handle?"); 5093Debug.Assert(index == -1 || this.IsHandleCreated, "How did we add items without a handle?"); 5095if (this.IsHandleCreated) { 5115Debug.Assert(IsHandleCreated, "SetItemText with no handle"); 5160if (IsHandleCreated) { 5178if (IsHandleCreated && listItemSorter != null) { 5185if (IsHandleCreated) { 5225if (!VirtualMode && IsHandleCreated && AutoArrange && (View == View.LargeIcon || View == View.SmallIcon)) { 5260if (IsHandleCreated) { 5307Debug.Assert(IsHandleCreated,"UpdateGroupNative precondition: list-view handle must be created"); 5332if (IsHandleCreated && ComctlSupportsVisualStyles && !VirtualMode) { 5800if (this.IsHandleCreated && this.StateImageList != null) { 6989if (owner.IsHandleCreated) { 7006if (owner.IsHandleCreated) { 7041if (owner.IsHandleCreated) { 7205if (this.owner.IsHandleCreated) 7233if (this.owner.IsHandleCreated) 7269if (this.owner.IsHandleCreated) 7309if (owner.IsHandleCreated) { 7356if (owner.IsHandleCreated) { 7383if (owner.IsHandleCreated) { 7997if (owner.IsHandleCreated) { 8003if (owner.IsHandleCreated) { 8185if (owner.IsHandleCreated && this.owner.View != View.Tile) { 8225if (owner.IsHandleCreated && this.owner.View == View.Tile) { 8870if (owner.IsHandleCreated && !owner.ListViewHandleDestroyed) { 8911if (owner.IsHandleCreated && !owner.CheckBoxes && valueChecked) { 8939if (owner.IsHandleCreated && !owner.CheckBoxes) { 8954if (owner.IsHandleCreated && !owner.CheckBoxes) { 8979if (owner.IsHandleCreated && !owner.ListViewHandleDestroyed) { 8997if (owner.IsHandleCreated && !owner.ListViewHandleDestroyed) { 9056if (owner.IsHandleCreated && !owner.CheckBoxes) { 9071if (owner.IsHandleCreated && !owner.ListViewHandleDestroyed) { 9107if (owner.IsHandleCreated && !owner.CheckBoxes && item.Checked) { 9152if (owner.IsHandleCreated && !owner.CheckBoxes && this[index].Checked) { 9160if (owner.IsHandleCreated) {
winforms\Managed\System\WinForms\ListViewGroup.cs (6)
274if (listView != null && listView.IsHandleCreated) { 458if (listView.IsHandleCreated) { 526if (listView.IsHandleCreated) { 605if (listView.IsHandleCreated) { 620Debug.Assert(listView.IsHandleCreated, "MoveGroupItems pre-condition: listView handle must be created"); 637if (listView.IsHandleCreated) {
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
168if (item.ListView != null && item.ListView.IsHandleCreated && !item.ListView.InsertingItemsNatively) {
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (4)
48if (listView.IsHandleCreated) { 86if (listView.IsHandleCreated) { 107if (listView.IsHandleCreated) { 133Debug.Assert(listView.IsHandleCreated, "ApplySavedState Precondition: List-view handle must be created");
winforms\Managed\System\WinForms\ListViewItem.cs (22)
390if (listView != null && listView.IsHandleCreated) { 419if (listView != null && listView.IsHandleCreated) { 426if (listView != null && listView.IsHandleCreated) { 542if (listView != null && listView.IsHandleCreated) { 577if (listView != null && listView.IsHandleCreated) { 619if (listView != null && listView.IsHandleCreated) { 691if (listView != null && listView.IsHandleCreated) { 700if (listView != null && listView.IsHandleCreated) { 745if (listView != null && listView.IsHandleCreated) { 752if (listView != null && listView.IsHandleCreated) { 760if (this.listView != null && this.listView.IsHandleCreated) { 785if (listView != null && listView.IsHandleCreated) { 795if (listView != null && listView.IsHandleCreated) { 924if (this.listView != null && this.listView.IsHandleCreated) { 1022if (listView != null && listView.IsHandleCreated) { 1052if (listView != null && listView.IsHandleCreated) { 1060if (listView != null && listView.IsHandleCreated && listView.View == View.Details) { 1127Debug.Assert(listView.IsHandleCreated, "Should only invoke UpdateStateToListView when handle is created."); 1170if (listView != null && listView.IsHandleCreated && displayIndex != -1) { 1371if (listView != null && listView.IsHandleCreated) { 1381if (listView != null && listView.IsHandleCreated) { 1497if(owner != null && owner.listView != null && owner.listView.IsHandleCreated) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
1227if (this.IsHandleCreated) 2005if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D)
winforms\Managed\System\WinForms\MDIClient.cs (1)
239if (IsHandleCreated && (site == null || !site.DesignMode)) {
winforms\Managed\System\WinForms\MenuStrip.cs (2)
200if (IsHandleCreated) { 208if (IsHandleCreated) {
winforms\Managed\System\WinForms\MonthCalendar.cs (10)
514if (IsHandleCreated) { 614if (IsHandleCreated) { 787if (IsHandleCreated) { 986if (IsHandleCreated) { 1057if (IsHandleCreated) { 1504if (IsHandleCreated) { 1978if (IsHandleCreated) { 2011if (IsHandleCreated) { 2150if (IsHandleCreated) { 2258if (IsHandleCreated) {
winforms\Managed\System\WinForms\PictureBox.cs (1)
1239if (InvokeRequired && IsHandleCreated) {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (2)
210if (dialog != null && dialog.IsHandleCreated) { 227if (dialog != null && dialog.IsHandleCreated) {
winforms\Managed\System\WinForms\ProgressBar.cs (9)
165if (IsHandleCreated) 359if (IsHandleCreated && style == ProgressBarStyle.Marquee) 403if (IsHandleCreated) { 440if (IsHandleCreated) { 451if (IsHandleCreated) 460if (IsHandleCreated) 553if (IsHandleCreated) SendMessage(NativeMethods.PBM_SETSTEP, step, 0); 884if (IsHandleCreated) SendMessage(NativeMethods.PBM_SETPOS, value, 0); 891if (IsHandleCreated)
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
765if (value && IsHandleCreated && this.Visible) { 2974if (!IsHandleCreated || !this.Visible) { 3239if (IsHandleCreated && this.Visible) { 3631if (Visible && IsHandleCreated) {
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (3)
85if (this.ownerGrid.IsHandleCreated && !IsHandleCreated) { 224if (IsHandleCreated && needUpdateUIWithFont) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (6)
46if (controls[i].IsHandleCreated) { 57if (this.IsHandleCreated || !String.IsNullOrEmpty(value)) { 68if (this.IsHandleCreated) { 159if (IsHandleCreated) { 167if (controls[i].IsHandleCreated) { 203if (this.IsHandleCreated) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
419if (edit != null && edit.IsHandleCreated) { 996if (IsHandleCreated && Visible && Enabled) { 2568if (DropDownListBox.IsHandleCreated) 5180if (IsHandleCreated && GetFlag(FlagNeedUpdateUIBasedOnFont)) {
winforms\Managed\System\WinForms\RadioButton.cs (2)
225if (IsHandleCreated) SendMessage(NativeMethods.BM_SETCHECK, value? 1: 0, 0); 429if (IsHandleCreated) {
winforms\Managed\System\WinForms\RichTextBox.cs (25)
231if (IsHandleCreated) { 316if (IsHandleCreated && SelectionBullet) 343if (IsHandleCreated) { 452if (IsHandleCreated) { 507if (IsHandleCreated) { 524if (IsHandleCreated) 596if (IsHandleCreated) { 609if (IsHandleCreated) { 717else if (IsHandleCreated) { 744if (IsHandleCreated) 1034if (IsHandleCreated) { 1054if (IsHandleCreated) 1191if (!IsHandleCreated) { 1422if (IsHandleCreated) { 1451if (!IsHandleCreated && textRtf == null) { 1473if (!IsHandleCreated) { 1579if (IsHandleCreated) { 2223if (!IsHandleCreated) 2265if (IsHandleCreated) { 2462if (IsHandleCreated) 2829if (IsHandleCreated) { 2856if (IsHandleCreated) { 3253if (IsHandleCreated) { 3299if (IsHandleCreated) 3394if (IsHandleCreated) {
winforms\Managed\System\WinForms\ScrollableControl.cs (3)
874if (xDelta != 0 || yDelta != 0 && IsHandleCreated) { 894if (ctl != null && ctl.IsHandleCreated) { 1227if (!IsHandleCreated) {
winforms\Managed\System\WinForms\ScrollBar.cs (1)
791if (IsHandleCreated && Enabled) {
winforms\Managed\System\WinForms\ScrollProperties.cs (1)
312if (parent.IsHandleCreated && visible) {
winforms\Managed\System\WinForms\SplitContainer.cs (2)
584if (IsHandleCreated) { 1705if (IsHandleCreated) {
winforms\Managed\System\WinForms\StatusBar.cs (6)
441if (IsHandleCreated) { 569return this.showPanels && IsHandleCreated; 589if (!IsHandleCreated) 776if (IsHandleCreated && panelsRealized != panels.Count) { 862if (!showPanels && IsHandleCreated) { 991if (IsHandleCreated && !DesignMode) {
winforms\Managed\System\WinForms\StatusStrip.cs (1)
189if (SizingGrip && IsHandleCreated) {
winforms\Managed\System\WinForms\TabControl.cs (19)
427if (!IsHandleCreated) { 431if (IsHandleCreated) 493if (IsHandleCreated) { 527if (IsHandleCreated) 560if (IsHandleCreated) { 649if (IsHandleCreated) { 723if (IsHandleCreated) { 738if (IsHandleCreated) { 1076if (IsHandleCreated && ShouldSerializeItemSize()) { 1248if (!IsHandleCreated) 1264if (IsHandleCreated) 1307if (IsHandleCreated) { 1660if (IsHandleCreated) { 1709if (IsHandleCreated) { 1750if (IsHandleCreated) 1753if (DesignMode && IsHandleCreated) { 1906if (IsHandleCreated) { 2743if (owner.IsHandleCreated) { 2757if (owner.IsHandleCreated) {
winforms\Managed\System\WinForms\TabPage.cs (1)
742if (parent is TabControl && parent.IsHandleCreated) {
winforms\Managed\System\WinForms\TextBox.cs (6)
384if (!IsHandleCreated) { 392if (IsHandleCreated) { 607if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D) { 778if (IsHandleCreated && AutoCompleteCustomSource != null) { 801if (IsHandleCreated) { 833if ((AutoCompleteMode != AutoCompleteMode.None || force) && IsHandleCreated) {
winforms\Managed\System\WinForms\TextBoxBase.cs (15)
467if (IsHandleCreated) { 782if (IsHandleCreated) { 799if (IsHandleCreated) { 1003if( !IsHandleCreated ) { 1071if (IsHandleCreated) { 1123if (!IsHandleCreated) { 1242if (IsHandleCreated) { 1257if (IsHandleCreated && Marshal.SystemDefaultCharSize == 2) { 1317if (IsHandleCreated) { 1457if (IsHandleCreated) { 1511return IsHandleCreated ? TextLength + 1 : TextLength; 1826if (IsHandleCreated) { 1952if (IsHandleCreated) { 2058Debug.Assert(IsHandleCreated, "Don't call this method until the handle is created."); 2178if (IsHandleCreated) {
winforms\Managed\System\WinForms\ToolBar.cs (13)
379if (IsHandleCreated && buttons != null && buttonCount > 0) { 641if (IsHandleCreated) 701if (buttons == null || buttonCount == 0 || !IsHandleCreated) { 729if (Wrappable && IsHandleCreated) { 771if (!IsHandleCreated || buttons == null) 1132if (buttons != null && buttonSize.IsEmpty && IsHandleCreated) { 1155if (IsHandleCreated) 1198if (IsHandleCreated) { 1235if (IsHandleCreated) { 1340if (IsHandleCreated) { 1520if (IsHandleCreated) { 1978if (owner.IsHandleCreated) { 2122if (owner.IsHandleCreated) {
winforms\Managed\System\WinForms\ToolBarButton.cs (4)
172if (parent != null && parent.IsHandleCreated) { 283if (parent == null || !parent.IsHandleCreated) 312if (parent == null || !parent.IsHandleCreated) 760if (updatePushedState && parent != null && parent.IsHandleCreated) {
winforms\Managed\System\WinForms\ToolStrip.cs (6)
1010if (!IsHandleCreated) { 1395using (LayoutTransaction.CreateTransactionIf(IsHandleCreated, this, this, PropertyNames.LayoutStyle)) { 2040if (IsHandleCreated && item != null) { 2160if (this.IsHandleCreated) { 2190|| !this.OverflowButton.DropDown.IsHandleCreated; 2718if (IsHandleCreated) {
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
431if (IsHandleCreated) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (7)
448if (IsHandleCreated && !DesignMode) { 1241if (!IsHandleCreated) { 1330if (IsHandleCreated) { 1399if (IsHandleCreated) { 1766if (IsHandleCreated) { 1841else if (IsHandleCreated && SafeNativeMethods.IsWindowEnabled(new HandleRef(this, Handle))) { 2019if (state[stateLayered] && IsHandleCreated && TopLevel && OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) {
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
249if (accept && owner.IsHandleCreated) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
355if ((this.ParentInternal != null) && this.ParentInternal.IsHandleCreated) { 3068if (parent.IsHandleCreated && parent.InvokeRequired) {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
364if (owner.IsHandleCreated){
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
630if (toolStripPanel != null && toolStripPanel.IsHandleCreated && toolStripPanel.Visible &&
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1000if (toolStripToDrag.Site != null && toolStripToDrag.Site.DesignMode && IsHandleCreated) {
winforms\Managed\System\WinForms\ToolTip.cs (12)
625if (baseVar.IsHandleCreated) { 998bool handlesCreated = ctl.IsHandleCreated 1000&& TopLevelControl.IsHandleCreated; 1008if (ctl.IsHandleCreated && topLevelControl == null) { 1020&& ctl.IsHandleCreated 1052bool handlesCreated = ctl.IsHandleCreated 1054&& topLevelControl.IsHandleCreated 1363if (regions[i].IsHandleCreated) { 1465if (control.IsHandleCreated) { 1470bool handlesCreated = control.IsHandleCreated 1472&& TopLevelControl.IsHandleCreated; 1493if (control.IsHandleCreated) {
winforms\Managed\System\WinForms\TrackBar.cs (9)
366if (IsHandleCreated) 459if (IsHandleCreated) { 516if (IsHandleCreated) 574if (IsHandleCreated) 661if (IsHandleCreated) { 807if (IsHandleCreated) { 882if (IsHandleCreated) { 1098if (IsHandleCreated) { 1125if (IsHandleCreated) {
winforms\Managed\System\WinForms\TreeNode.cs (7)
337if (tv == null || !tv.IsHandleCreated || tv.IsDisposed) 1324if (tv == null || !tv.IsHandleCreated) { 1563if (tv == null || !tv.IsHandleCreated) { 1651if (treeView != null && treeView.IsHandleCreated) treeView.Invalidate(); 1661if (tv == null || !tv.IsHandleCreated || tv.IsDisposed) 1805if (notify && tv.IsHandleCreated) 1825Debug.Assert(tv.IsHandleCreated, "nonexistent handle");
winforms\Managed\System\WinForms\TreeView.cs (36)
211if (IsHandleCreated) { 327if (IsHandleCreated) { 357if (IsHandleCreated) { 393if (ShowNodeToolTips && IsHandleCreated && !DesignMode) { 400if (CheckBoxes && IsHandleCreated) 464if (IsHandleCreated) 484if (IsHandleCreated) { 509if (IsHandleCreated) { 535if (IsHandleCreated) { 582if (IsHandleCreated) { 614if (IsHandleCreated) { 646if (IsHandleCreated) { 715if (IsHandleCreated) 755else if (IsHandleCreated) { 770if (IsHandleCreated) { 792if (IsHandleCreated) { 812if (IsHandleCreated) { 847if (IsHandleCreated) { 866if (IsHandleCreated) { 875if (IsHandleCreated) { 1070if (IsHandleCreated) { 1103if (IsHandleCreated) { 1122if (IsHandleCreated) { 1137if (IsHandleCreated && (value == null || value.TreeView == this)) { 1170if (IsHandleCreated) { 1216if (IsHandleCreated) { 1238if (IsHandleCreated) { 1334if (IsHandleCreated) { 1341if (IsHandleCreated && (value == null || value.TreeView == this)) { 1373if (IsHandleCreated) 1747if (IsHandleCreated) { 1843if (IsHandleCreated) { 1862if ((null != sender) && (sender == imageList) && IsHandleCreated) { 1872if (IsHandleCreated) { 1882if ((null != sender) && (sender == stateImageList) && IsHandleCreated) { 2622if (IsHandleCreated && CheckBoxes) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1161if (child != null && IsHandleCreated) {
winforms\Managed\System\WinForms\UserControl.cs (1)
290if (!IsHandleCreated) return false;
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
530if ((Visible && parent != null && parent.Visible) || this.IsHandleCreated) { 668return IsHandleCreated ? Handle : IntPtr.Zero;
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
44Debug.Assert(controlToSendTo.IsHandleCreated, "Marshaling control should have created its handle in its ctor."); 50Debug.Assert(controlToSendTo.IsHandleCreated, "Marshaling control should have created its handle in its ctor.");