コード例 #1
0
        private void ribbonButton1_Click(object sender, EventArgs e)
        {
            if (this.MdiChildren.Count() == 0)
            {
                entry en = new entry();
                en.MdiParent = this;
                en.Dock      = DockStyle.Fill;
                en.Show();
            }
            else
            {
                closeAll();
                entry en = new entry();
                en.MdiParent = this;
                en.Dock      = DockStyle.Fill;
                en.Show();
            }

            ribbonButton3.Enabled = true;

            ribbonButton6.Enabled = false;

            ribbonButton9.Enabled = false;
        }
コード例 #2
0
 public entry()
 {
     InitializeComponent();
     form1 = this;
 }