Borrowing_table.OutPut.setText C# (CSharp) Method

setText() public method

public setText ( string text ) : void
text string
return void
        public void setText(string text)
        {
            this.metroTextBox1.Text = text;
        }
    }

Usage Example

Ejemplo n.º 1
0
        /// <summary>
        /// 输出按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void metroButton1_Click(object sender, EventArgs e)
        {
            var str = "";

            //动画作者
            if (TextBox_animator.Text != "")
            {
                str += _txt_animator + " : " + TextBox_animator.Text + "\r\n";
            }
            //模型
            if (TextBox_model.Text != "")
            {
                str += _txt_model + " : " + TextBox_model.Text + "\r\n";
            }
            //场景
            if (TextBox_stage.Text != "")
            {
                str += _txt_stage + " : " + TextBox_stage.Text + "\r\n";
            }

            //动作
            if (TextBox_motion.Text != "")
            {
                str += _txt_motion + " : " + TextBox_motion.Text + "\r\n";
            }
            //姿势
            if (TextBox_pose.Text != "")
            {
                str += _txt_pose + " : " + TextBox_pose.Text + "\r\n";
            }
            //镜头
            if (TextBox_cam.Text != "")
            {
                str += _txt_cam + " : " + TextBox_cam.Text + "\r\n";
            }
//            if (TextBox_background.Text != "") //背景
//            {
//                str += Label_background.Text + TextBox_background.Text + "\r\n";
//            }
            //mme
            if (TextBox_MME.Text != "")
            {
                str += _txt_MME + " : " + TextBox_MME.Text + "\r\n";
            }
            //附件
            if (TextBox_attachment.Text != "")
            {
                str += _txt_attachment + " : " + TextBox_attachment.Text + "\r\n";
            }
            //音乐
            if (TextBox_BGM.Text != "")
            {
                str += _txt_BGM + " : " + TextBox_BGM.Text + "\r\n";
            }

            _outPut.setText(str);
            _outPut.Show();
        }