예제 #1
0
        private void SQLItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(SQLFormCreate))
                {
                    form.Activate();
                    return;
                }
            }
            SQLFormCreate child = new SQLFormCreate()
            {
                Padding = new Padding(0), MdiParent = this
            };

            child.Show();
            OpenWaitForm();
        }
예제 #2
0
        private void barSQL_ItemClick(object sender, ItemClickEventArgs e)
        {
            var frm = new SQLFormCreate();

            frm.Show();
        }