using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace NetMonitorClient { public partial class EditNetworks : Form { public enum Options { Show } internal enum RWFlag { Read, Write } private RWFlag acess; public EditNetworks(Options option) { if (option == Options.Show) { this.acess = RWFlag.Read; } InitializeComponent(); } } }