示例#1
0
 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;
 }
示例#2
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();
             * }
             * **/
        }
示例#3
0
 public MainForm(System.Windows.Forms.IWin32Window parent, ManagementForm manForm)
 {
     InitializeComponent();
     DialogDashboard = manForm;
     this.MdiParent  = parent as DashboardForm;
 }
示例#4
0
 public RegisterForm(System.Windows.Forms.IWin32Window parent, ManagementForm mf)
 {
     InitializeComponent();
     DialogLogging  = mf;
     this.MdiParent = parent as DashboardForm;
 }