static void Main()
        {
            //UserAuth user;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //var loginForm = new LoginForm();
            //Application.Run(new LoginForm());

            var frm = new MainForm();// {User = User};
            Application.Run(frm);
        }
        public MainForm()
        {
            InitializeComponent();

            m_handle = this;
        }