Beispiel #1
0
        void newButton_Click(object sender, System.EventArgs e)
        {
            var        butText = (sender as Button).Text;
            secondForm secondF = new secondForm(butText, path);

            secondF.ShowDialog();
        }
Beispiel #2
0
        private void firstNote_Click(object sender, EventArgs e)
        {
            secondForm secondF = new secondForm("note1", path);

            secondF.ShowDialog();
        }