コード例 #1
0
        private void PanelRate_Click(object sender, EventArgs e)
        {
            Console.WriteLine("PanelRate_Click");
            string tag = (sender as Control).Tag.ToString();

            Console.WriteLine("tag: " + tag);

            if (tag.Equals("1") || tag.Equals("2"))
            {
                FormComment formComment = new FormComment();
                formComment.ShowDialog();
            }
            else
            {
                FormThanks formThanks = new FormThanks();
                formThanks.ShowDialog();
            }
        }
コード例 #2
0
        private void ButtonNo_Click(object sender, EventArgs e)
        {
            FormThanks formThanks = new FormThanks();

            formThanks.ShowDialog();
        }