System.Windows.Forms.Control.Hide()

Here are the examples of the csharp api class System.Windows.Forms.Control.Hide() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

200 Examples 7

1. Example

Project: RNGReporter
Source File: Adjacents.cs
View license
private void PlatinumTime_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

2. Example

Project: RNGReporter
Source File: EntralinkSeedSearch.cs
View license
private void PlatinumTime_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

3. Example

Project: RNGReporter
Source File: PIDToIVs.cs
View license
private void PIDToIVs_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

4. Example

Project: RNGReporter
Source File: Researcher.cs
View license
private void Researcher_FormClosing(object sender, FormClosingEventArgs e)
        {
            Hide();
        }

5. Example

Project: RNGReporter
Source File: RoamerMap.cs
View license
private void RoamerMap_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

6. Example

Project: Krypton
Source File: ControlObscurer.cs
View license
public void Uncover()
        {
            if (_obscurer != null)
                _obscurer.Hide();
        }

7. Example

Project: Krypton
Source File: ViewDrawScrollBar.cs
View license
private void CreateScrollBar(Control parent)
        {
            // Do we need to create a scrollbar?
            if (_scrollBar == null)
            {
                // Create the correct type of control
                if (Vertical)
                    _scrollBar = new VScrollBar();
                else
                    _scrollBar = new HScrollBar();

                // Hook into scroll position changes
                _scrollBar.Scroll += new ScrollEventHandler(OnScrollBarChange);

                // Create it hidden
                _scrollBar.Hide();
                
                // Set the scrolling values
                _scrollBar.Minimum = _min;
                _scrollBar.Maximum = _max;
                _scrollBar.SmallChange = _smallChange;
                _scrollBar.LargeChange = _largeChange;
                _scrollBar.Value = _offset;

                // Add our new control to the provided parent collection
                CommonHelper.AddControlToParent(parent, _scrollBar);
            }
        }

8. Example

View license
protected void OnOK_Click(object sender, EventArgs e)
        {
            Hide();

            // add selected frame
            if (cbFrames.SelectedItem != null &&
                cbFrames.SelectedItem is BgfBitmap &&
                Program.CurrentFile.FrameSets.Count > CurrentFrameSetIndex)
            {
                Program.CurrentFile.FrameSets[CurrentFrameSetIndex].FrameIndices.Add(cbFrames.SelectedIndex);

                Program.MainForm.UpdateFrameNums();
                Program.MainForm.UpdateFrameSetFlow();
            }
        }

9. Example

View license
protected override void OnClosing(CancelEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

10. Example

Project: meridian59-dotnet
Source File: SettingsForm.cs
View license
protected override void OnClosing(CancelEventArgs e)
        {
            // cancel close and hide instead
            e.Cancel = true;
            Hide();
        }

11. Example

Project: meridian59-dotnet
Source File: SettingsForm.cs
View license
protected void btnOK_Click(object sender, EventArgs e)
        {           
            Hide();
        }

12. Example

Project: EZLib
Source File: loginForm.cs
View license
private void buttonRegister_Click(object sender, System.EventArgs e)
        {
            Hide();
            using (var registerForm = new registerForm())
            {
                registerForm.ShowDialog();
            }
        }

13. Example

Project: EZLib
Source File: registerForm.cs
View license
private void buttonLogin_Click(object sender, EventArgs e)
        {
            Hide();
            using (var loginForm = new loginForm())
            {
                loginForm.ShowDialog();
            }
        }

14. Example

Project: DFAssist
Source File: MainForm.cs
View license
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (e.CloseReason == CloseReason.UserClosing)
            {
                e.Cancel = true;
                Hide();
            }
        }

15. Example

Project: MapleShark
Source File: FindReplace.cs
View license
private void FindReplace_Closing(object sender,
                                         CancelEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

16. Example

Project: MapleShark
Source File: FindReplace.cs
View license
private void btnClose_Click(object sender, EventArgs e)
        {
            mOwner.Focus();
            Hide();
        }

17. Example

Project: dp2
Source File: FloatingMessageForm.cs
View license
private void Parent_Deactivate(object sender, EventArgs e)
        {
            if (this.AutoHide)
            {
                try
                {
                    this.Hide();
                }
                catch
                {
                }
            }
        }

18. Example

Project: NSMB-Editor
Source File: LevelMinimap.cs
View license
private void onFormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

19. Example

Project: NSMB-Editor
Source File: SpriteEvents.cs
View license
private void SpriteEvents_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

20. Example

Project: NSMB-Editor
Source File: ToolsForm.cs
View license
private void ToolsForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

21. Example

Project: Snip
Source File: Snip.cs
View license
private void Snip_Load(object sender, EventArgs e)
        {
            // Hide the window from ever showing.
            this.Hide();
        }

22. Example

View license
private void cmdCancel_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

23. Example

View license
private void cmdCancel_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

24. Example

Project: DotSpatial
Source File: DownloadForm.cs
View license
private void DownloadFormClosing(object sender, FormClosingEventArgs e)
        {
            // Hide form when closed by user
            if (e.CloseReason == CloseReason.UserClosing)
            {
                e.Cancel = true;
                Hide();
            }
        }

25. Example

Project: DotSpatial
Source File: ExtensionManagerForm.cs
View license
private void ExtensionManagerFormClosing(object sender, FormClosingEventArgs e)
        {
            // hide the extension manager when closed by the user
            if (e.CloseReason == CloseReason.UserClosing)
            {
                e.Cancel = true;
                Hide();
            }
        }

26. Example

Project: DotSpatial
Source File: CoordinateDialog.cs
View license
private void CloseButtonClick(object sender, EventArgs e)
        {
            Hide();
        }

27. Example

Project: DotSpatial
Source File: AddNewColum.cs
View license
private void BtnCancelClick(object sender, EventArgs e)
        {
            Hide();
        }

28. Example

Project: DotSpatial
Source File: DeleteFieldsDialog.cs
View license
private void BtnCancelClick(object sender, EventArgs e)
        {
            Hide();
        }

29. Example

Project: DotSpatial
Source File: RenameFieldDialog.cs
View license
private void BtnCancelClick(object sender, EventArgs e)
        {
            Hide();
        }

30. Example

View license
public void HideView()
        {
            this.Hide();
        }

31. Example

View license
public void HideView()
        {
            this.Hide();
        }

32. Example

View license
public void HideView()
        {
            this.Hide();
        }

33. Example

View license
public void HideView()
        {
            this.Hide();
        }

34. Example

View license
public void HideView()
        {
            this.Hide();
        }

35. Example

View license
public void HideView()
        {
            this.Hide();
        }

36. Example

View license
public void HideView()
        {
            this.Hide();
        }

37. Example

View license
public void HideView()
        {
            this.Hide();
        }

38. Example

View license
public void HideView()
		{
			this.Hide();
		}

39. Example

View license
public void HideView()
        {
            this.Hide();
        }

40. Example

View license
public void HideView()
        {
            this.Hide();
        }

41. Example

View license
public void HideView()
        {
            this.Hide();
        }

42. Example

Project: sharpshell
Source File: SharpDeskBand.cs
View license
int IDockingWindow.CloseDW(uint dwReserved)
        {
            //  Log key events.
            Log("IDockingWindow.CloseDW called.");

            //  Hide the band.
            lazyDeskBand.Value.Hide();

            //  Return success.
            return WinError.S_OK;
        }

43. Example

Project: playground
Source File: ConnectServerDialog.cs
View license
private void btnCancel_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
			this.Hide();
		}

44. Example

Project: playground
Source File: ConnectServerDialog.cs
View license
private void btnOK_Click(object sender, EventArgs e)
		{
			_sharedConnection.Connect(tbAddress.Text, cbAutoRefresh.Checked, (int)nudInterval.Value);
			this.DialogResult = DialogResult.OK;
			this.Hide();
		}

45. Example

Project: uTorrent-Notifier
Source File: SettingsForm.cs
View license
private void btnSave_Click(object sender, EventArgs e)
        {
            this.ClassRegistry.Conf/n ..... /n //View Source file for more details /n }

46. Example

Project: uTorrent-Notifier
Source File: SettingsForm.cs
View license
private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

47. Example

Project: HourBoostr
Source File: gameForm.cs
View license
private void gameForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            Hide();
        }

48. Example

Project: HourBoostr
Source File: DonateForm.cs
View license
private void picGoBack_Click(object sender, EventArgs e)
        {
            Hide();
        }

49. Example

Project: HourBoostr
Source File: mainForm.cs
View license
private void PanelCardsStartedBtnHide_Click(object sender, EventArgs e)
        {
            if (_settings.Settings.HideToTraybar)
            {
                Hide();
                AppNotifyIcon.ShowBalloonTip(1000, "SingleBoostr", "I'm down here.", ToolTipIcon.Info);
            }
            else
            {
                WindowState = FormWindowState.Minimized;
            }
        }

50. Example

Project: HourBoostr
Source File: mainForm.cs
View license
private void PanelIdleStartedBtnHide_Click(object sender, EventArgs e)
        {
            if (_settings.Settings.HideToTraybar)
            {
                Hide();
                AppNotifyIcon.ShowBalloonTip(1000, "SingleBoostr", "I'm down here.", ToolTipIcon.Info);
            }
            else
            {
                WindowState = FormWindowState.Minimized;
            }
        }