internal frmScriptProperty(ScriptInformation scriptInformation) { InitializeComponent(); ScriptPropertyAttribute cProperty = scriptInformation.Property; labVersion.Text = cProperty.Version; labComment.Text = cProperty.Comment; labCopyright.Text = cProperty.Copyright; labName.Text = scriptInformation.Name; labFullName.Text = scriptInformation.FullName; labScriptType.Text = cProperty.ScriptType.ToString(); }
/// <summary> /// 建構子 /// </summary> /// <param name="script">腳本Type型別</param> /// <param name="property">腳本屬性</param> public ScriptInformation(Type script, ScriptPropertyAttribute property) { __cScript = script; __cProperty = property; }