コード例 #1
0
        public PrincipalItemUI(PrincipalUI frmPrincipal)
        {
            this.frmPrincipal       = frmPrincipal;
            principalItemRepository = EntityContainer.GetType <IPrincipalItemRepository>();

            InitializeComponent();
        }
コード例 #2
0
        private void mnuPrincipal_Click(object sender, EventArgs e)
        {
            var frmPrincipal = new PrincipalUI();

            frmPrincipal.MdiParent = this;

            frmPrincipal.Show();
        }