예제 #1
0
        private void btnNewWorkspaceInfo_Click(object sender, EventArgs e)
        {
            WorkspaceInfo workspace = new WorkspaceInfo
            {
                WorkspaceName       = "黄土店",
                WorkspaceServerPath = "数据\\黄土店数据",
                IsUpdate            = true
            };

            lblResult.Text = workspace.AddData(workspace).ToString();
        }