예제 #1
0
        private void btnOpenthePage_Click(object sender, EventArgs e)
        {
            YapılacaklarListesi ToDoList = new YapılacaklarListesi();

            ToDoList.MdiParent = this.MdiParent;

            ToDoList.Text = txtPageName.Text;

            ToDoList.Show();

            this.Close();
        }
예제 #2
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            //MdiChildActivate

            //YapılacaklarListesi todopanel = new YapılacaklarListesi();

            YapılacaklarListesi todopanel = (YapılacaklarListesi)Owner.ActiveMdiChild;

            text = richText.Text;

            todopanel.CreateLabel(text);
            todopanel.Show();
            this.Close();
            // yeniform (ailesi form1)-- yapılacaklar listesi
            // yeni note butonuna yaplıcaklar listesine text at.
        }