How to use own created MessageBox control in another Windows Form application

suggest change

To find your existing .cs files, right click on the project in your instance of Visual Studio, and click Open Folder in File Explorer.

  1. Visual Studio –> Your current project (Windows Form) –> Solution Explorer –> Project Name –> Right Click –> Add –> Existing Item –> Then locate your existing .cs file.
  2. Now there’s one last thing to do in order to use the control. Add a using statement to your code, so that your assembly knows about its dependencies.
    using System;
       using System.Collections.Generic;
       using System.ComponentModel;
       using System.Data;
       using System.Drawing;
       .
       .
       .
       using CustomMsgBox; //Here's the using statement for our dependency.
  3. To display the messagebox, simply use the following…

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Creating Own MessageBox in Windows Form Application:
* How to use own created MessageBox control in another Windows Form application

Table Of Contents
17 Regex
19 Arrays
21 Enum
22 Tuples
24 GUID
27 Looping
36 Casting
46 Methods
88 Events
92 Structs
104 Indexer
106 Stream
107 Timers
109 Threading
127 Caching
135 Pointers
147 C# Script
151 Creating Own MessageBox in Windows Form Application