public BypassForm(System.Windows.Forms.IWin32Window parent, ManagementForm mf) { InitializeComponent(); MainDashboard = mf; this.MdiParent = parent as DashboardForm; string[] servers = Enum.GetNames(typeof(SERVERS)); string[] servers_mode = Enum.GetNames(typeof(SERVER_MODE)); comboBoxServer.Items.AddRange(servers); comboBoxMode.Items.AddRange(servers_mode); comboBoxMode.SelectedIndex = 0; comboBoxServer.SelectedIndex = 0; }
public DashboardForm() { InitializeComponent(); DialogLogging = new ManagementForm(this); GetHardwareId(); DialogLogging.init(); /** if u willing using skin form to decorated ui prefered with DMSOFT * DMSoft.SkinCrafter skin = new DMSoft.SkinCrafter(); * skin.SkinFile = "RedJet"; * using (System.IO.MemoryStream ms = new System.IO.MemoryStream(Properties.Resources.RedJet)) * { * skin.LoadSkinFromStream(ms); * skin.ApplySkin(); * ms.Close(); * } * **/ }
public MainForm(System.Windows.Forms.IWin32Window parent, ManagementForm manForm) { InitializeComponent(); DialogDashboard = manForm; this.MdiParent = parent as DashboardForm; }
public RegisterForm(System.Windows.Forms.IWin32Window parent, ManagementForm mf) { InitializeComponent(); DialogLogging = mf; this.MdiParent = parent as DashboardForm; }