예제 #1
0
        //initialise timer window
        private void minutnikToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TimerAlarm timer_window = new TimerAlarm();

            timer_window.Show();
        }
        string copied_topic; //string to contain copied text from previous window

        //calls getter to retrieve text from previous window
        public AlarmNotification(TimerAlarm timer_window)
        {
            InitializeComponent();
            this.copied_topic = timer_window.copyTopic;
        }