private void btnMove_Click(object sender, EventArgs e) { frmTarget target = new frmTarget(ModelClient); if (target.ShowDialog(this) == DialogResult.OK) { HttpStatusCode Result = ModelClient.Move(ModelId, Selected_Target_Folder); if (Result == HttpStatusCode.OK) { MessageBox.Show("File has moved to..."); } } }