Exemple #1
0
        public static void ShowAzClassDesign(Form owner)
        {
            if (!MetadataOperate.ConfigWhetherInit())
            {
                GeneralHelpler.SomethingWarning("当前配置未正确设置,请重新设置!!");
                return;
            }

            if (!MetadataOperate.MetaWhetherInit())
            {
                GeneralHelpler.SomethingWarning("当前配置元数据没有初始化,请先生成!!");
                return;
            }
            foreach (var f in owner.MdiChildren)
            {
                if (f.Name == typeof(AzClassDesign).Name)
                {
                    f.BringToFront();
                    return;
                }
            }
            AzClassDesign azClassDesign = new AzClassDesign
            {
                MdiParent = owner
            };

            azClassDesign.Show();
        }
Exemple #2
0
 private void ACM_BusinessDesign_Click(object sender, EventArgs e)
 {
     AzClassDesign.ShowAzClassDesign(this);
 }