Пример #1
0
        private void barbtnHome_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Account LoginAccount = this.LoginAccount;
            var     f            = new fQuanLyKaiOKen(LoginAccount);

            if (ExistForm(f) == true)
            {
                return;
            }
            f.MdiParent = this;
            f.Show();
        }
Пример #2
0
        public fMain(Account acc)
        {
            InitializeComponent();
            DateTime now = DateTime.Now;

            lblTime.Text = now.ToString();

            this.LoginAccount = acc;

            Account LoginAccount = this.LoginAccount;
            var     f            = new fQuanLyKaiOKen(LoginAccount);

            if (ExistForm(f) == true)
            {
                return;
            }
            f.MdiParent = this;
            f.Show();
        }